Comment 0 for bug 882579

Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

While attempting to use "virsh" commands this error occurs:

Oct 27 08:52:22 boron libvirtd: 08:52:23.000: 25851: error : qemuDomainObjBeginJobWithDriver:453 : Timed out during operation: cannot acquire state change lock

While the error state is present certain commands like "virsh shutdown" and "virsh destroy" elicit that error message and fail to work completely I found that if I kill the kvm guest processes

$ kill -9 $(ps ax | grep '/usr/bin/kvm.*guestname' | awk '{print $1}')

Then "virsh start guestname" would work.

I'm not certain that the number of VM guests is the issue, however, this happens more frequently to me on systems with larger numbers of guests. We have one with 14 guests and another with 53.

There seems to be a corresponding Red Hat bug at:
https://bugzilla.redhat.com/show_bug.cgi?id=676205

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libvirt-bin 0.8.8-1ubuntu6.5
ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
Uname: Linux 2.6.38-12-generic x86_64
Architecture: amd64
Date: Thu Oct 27 09:41:23 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: Upgraded to natty on 2011-05-26 (153 days ago)