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

Jiri Denemark jdenemar at redhat.com
Wed Oct 17 12:32:51 UTC 2012


On Tue, Oct 16, 2012 at 16:20:59 +0200, Guido Winkelmann wrote:
> 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 != 
> none
> 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

Oops, that's a longstanding bug which hasn't been noticed until now. Thanks
for reporting it. Luckily, the fix is trivial:


More information about the libvirt-users mailing list