[libvirt-users] Migrating fails with "Timed out during operation: cannot acquire state change lock"

Guido Winkelmann guido-libvi at unknownsite.de
Tue Oct 16 14:20:59 UTC 2012


After recently upgrading to 0.9.11 (as shipped with Fedora 17), I was just 
trying to migrate a qemu domain from one host to another (using 
virDomainMigrateToURI()), when I got this error message:

Unsafe migration: Migration may lead to data corruption if disks use cache != 

Okay, this is explainable (if a bit disappointing - I would have hoped that 
qemu would be able to disable disk caches before migration and then reenable 
them afterwards...). However, the next time I tried migrating the same domain, 
I got this error message after about 30 seconds:

Timed out during operation: cannot acquire state change lock

This looks like a bug to me - granted not a high profile one if it only 
happens when someone is retrying a failed migration, but still...


More information about the libvirt-users mailing list