Some Commands return: "Timed out during operation: cannot acquire state change lock"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
On Lucid run:
apt-get source linux-image-
examine linux-lts-
See missing patch:
diff --git a/arch/
index 980317a..0556e05 100644
--- a/arch/
+++ b/arch/
@@ -2100,8 +2100,8 @@ void kvm_arch_
if (check_
kvm_
vcpu-
- kvm_make_
}
+ kvm_make_
if (vcpu->cpu != cpu)
kvm_
vcpu->cpu = cpu;
=====
While attempting to use "virsh" commands this error occurs:
Oct 27 08:52:22 boron libvirtd: 08:52:23.000: 25851: error : qemuDomainObjBe
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/
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:/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libvirt-bin 0.8.8-1ubuntu6.5
ProcVersionSign
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)
Changed in libvirt (Ubuntu): | |
status: | Incomplete → Confirmed |
description: | updated |
description: | updated |
tags: |
added: lucid testcase removed: natty running-unity |
Attached the output of
for p in `pidof libvirtd`; do
echo -n "$p: "
cat /proc/$p/cmdline
cat /proc/$p/cgroup
cat /proc/$p/status
done
for p in `pidof kvm`; do
echo -n "$p: "
cat /proc/$p/cmdline
cat /proc/$p/cgroup
cat /proc/$p/status
done