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

Guido Winkelmann guido-libvi at unknownsite.de
Wed Oct 17 12:38:56 UTC 2012


Am Mittwoch, 17. Oktober 2012, 14:32:51 schrieb Jiri Denemark:
> Hi.
> 
> 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:
> https://www.redhat.com/archives/libvir-list/2012-October/msg00891.html

Thank you!

	Guido




More information about the libvirt-users mailing list