"cannot acquire state change lock" problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt |
Won't Fix
|
Critical
|
|||
libvirt (Debian) |
Fix Released
|
Unknown
|
|||
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libvirt-bin
When I shutdown a guest (tried with both WinXP and RHEL6, tried with "shutdown" from virsh and virtmanager and from within guest"), at the point the client has shutdown ("Halting System..." in RHEL6 terms) the state keeps being "running". Also, the guest processes are still there, but I can't kill them. Then, whatever I try to do with those guests, I must wait for minimal 1 minute after I get ""Timed out during operation: cannot acquire state change lock".
The traceback of a destroy attempt is this:
Traceback (most recent call last):
File "/usr/share/
vm.destroy()
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainDest
libvirtError: Timed out during operation: cannot acquire state change lock
Restarting the libvirt-bin service doesn't help.
Other seem to have similar problems: http://
Only thing that works reliably is to reboot the host.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libvirt-bin 0.8.3-1ubuntu14
Uname: Linux 2.6.37-
Architecture: amd64
Date: Mon Mar 14 12:04:51 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libvirt
Changed in libvirt (Debian): | |
status: | Unknown → Fix Released |
Changed in libvirt: | |
importance: | Unknown → Critical |
status: | Unknown → Won't Fix |
Description of problem:
Customer cannot resume virtual machine, below the error:
# virsh resume v_rhel5_prod
error: Failed to resume domain v_rhel5_prod
error: Timed out during operation: cannot acquire state change lock
Version-Release number of selected component (if applicable): 0.8.2-15. el5_6.1. x86_64 python- 0.8.2-15. el5_6.1. x86_64
libvirt-
libvirt-
Also tried:
# virsh destroy v_rhel5_prod
error: Failed to destroy domain v_rhel5_prod
error: Timed out during operation: cannot acquire state change lock
# virsh start v_rhel5_prod
error: Domain is already active
Additional info:
Even rebooting the host the VM keep locked.
Similar issue: /bugzilla. redhat. com/show_ bug.cgi? id=668438
https:/
Attached the debug logs