Activity log for bug #882579

Date Who What changed Old value New value Message
2011-10-27 13:52:34 nutznboltz bug added bug
2011-10-27 13:59:52 nutznboltz attachment added LP-882579-pidof.txt https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/882579/+attachment/2575222/+files/LP-882579-pidof.txt
2011-10-27 14:03:45 nutznboltz bug added subscriber Serge Hallyn
2011-10-27 14:23:18 Serge Hallyn libvirt (Ubuntu): status New Confirmed
2011-10-27 14:23:35 Dave Walker libvirt (Ubuntu): importance Undecided Medium
2011-10-27 14:26:10 Dave Walker libvirt (Ubuntu): status Confirmed Incomplete
2011-10-27 20:13:43 nutznboltz bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=676205
2011-10-31 11:22:08 nutznboltz bug watch added https://forge.univention.org/bugzilla/show_bug.cgi?id=23258
2011-10-31 11:31:43 nutznboltz bug added subscriber Stefan Bader
2011-10-31 11:32:21 nutznboltz bug added subscriber Andy Whitcroft
2011-10-31 11:57:52 nutznboltz libvirt (Ubuntu): status Incomplete Confirmed
2011-10-31 12:00:21 nutznboltz description 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) To reproduce: apt-get source linux-image-2.6.38-12-generic examine linux-lts-backport-natty-2.6.38/arch/x86/kvm/x86.c See missing patch: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 980317a..0556e05 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2100,8 +2100,8 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu) if (check_tsc_unstable()) { kvm_x86_ops->adjust_tsc_offset(vcpu, -tsc_delta); vcpu->arch.tsc_catchup = 1; - kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu); } + kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu); if (vcpu->cpu != cpu) kvm_migrate_timers(vcpu); 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 : 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)
2011-10-31 12:00:59 nutznboltz description To reproduce: apt-get source linux-image-2.6.38-12-generic examine linux-lts-backport-natty-2.6.38/arch/x86/kvm/x86.c See missing patch: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 980317a..0556e05 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2100,8 +2100,8 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu) if (check_tsc_unstable()) { kvm_x86_ops->adjust_tsc_offset(vcpu, -tsc_delta); vcpu->arch.tsc_catchup = 1; - kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu); } + kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu); if (vcpu->cpu != cpu) kvm_migrate_timers(vcpu); 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 : 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) To reproduce: On Lucid run: apt-get source linux-image-2.6.38-12-generic examine linux-lts-backport-natty-2.6.38/arch/x86/kvm/x86.c See missing patch: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 980317a..0556e05 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2100,8 +2100,8 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)    if (check_tsc_unstable()) {     kvm_x86_ops->adjust_tsc_offset(vcpu, -tsc_delta);     vcpu->arch.tsc_catchup = 1; - kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu);    } + kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu);    if (vcpu->cpu != cpu)     kvm_migrate_timers(vcpu);    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 : 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)
2011-10-31 12:12:42 nutznboltz tags amd64 apport-bug natty running-unity amd64 apport-bug lucid testcase
2011-10-31 15:45:20 Serge Hallyn bug task added linux (Ubuntu)
2011-10-31 15:50:10 Brad Figg linux (Ubuntu): status New Incomplete
2011-10-31 15:50:13 Brad Figg tags amd64 apport-bug lucid testcase amd64 apport-bug lucid natty testcase
2011-10-31 15:57:32 nutznboltz libvirt (Ubuntu): status Confirmed Invalid
2011-10-31 16:14:33 nutznboltz marked as duplicate 795717