Public bug reported:

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)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/882579

Title:
  Some Commands return: "Timed out during operation: cannot acquire
  state change lock"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/882579/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to