apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.06k stars 1.1k forks source link

Cannot live migrate systemvms using local storage but can migrate user VMs #7651

Closed rohityadavcloud closed 1 year ago

rohityadavcloud commented 1 year ago

While as a root admin I can live migrate user VMs with storage, I cannot live migrate systemvms (cpvm/ssvm) as root admin, which are using local storage. The findHostsForMigration throws error 431 in the UI and in logs this is seen:

2023-06-19 21:06:09,805 INFO  [c.c.a.ApiServer] (qtp1278852808-1136:ctx-79021647 ctx-08771e65) (logid:da50c173) Unsupported operation, VM uses Local storage, cannot migrate
ISSUE TYPE
COMPONENT NAME
systemvms
CLOUDSTACK VERSION
4.18.0.0
CONFIGURATION

KVM based 4.18 adv zone env using local-only storage in the zone

rohityadavcloud commented 1 year ago

Fixed in https://github.com/apache/cloudstack/pull/7656