Public bug reported:

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/virt-manager/virtManager/engine.py", line 768, in 
destroy_domain
    vm.destroy()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1324, in destroy
    self._backend.destroy()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 349, in destroy
    if ret == -1: raise libvirtError ('virDomainDestroy() failed', dom=self)
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://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=602715

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-020637rc2-generic x86_64
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

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


** Tags: amd64 apport-bug maverick

-- 
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/734777

Title:
  "cannot acquire state change lock" problems

-- 
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