mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
There is a race condition in the monitoring of the migration process on KVM. If the monitor wakes up in the tight window after the migration succeeds, but before the migration thread terminates, the monitor will get a LibvirtException “Domain not found: no domain with matching uuid” when checking on the migration status. This in turn causes CloudStack to sync the VM state to stop, in which it issues a defensive StopCommand to ensure it is correctly synced. Fix: Prevent LibvirtException: "Domain not found" caused by the call to dm.getInfo()