[Pkg-libvirt-maintainers] Bug#602715: libvirt-bin: locking problem with libvirt

Lars Wirzenius liw at liw.fi
Sun Nov 7 13:56:40 UTC 2010


Package: libvirt-bin
Version: 0.8.3-3
Severity: normal

My libvirt system got into a state where virt-manager would get stuck
for a couple of minutes, and then give an error about locking problems.
virsh, likewise. I had been able to start one VM, but starting the
second one failed.

"Timed out during operation: cannot acquire state change lock" is
the error. Here's a representative line from syslog (split into
three to make it more readable):

Nov  7 15:23:38 agnes libvirtd: 15:23:38.001: error :
qemuDomainObjBeginJobWithDriver:410 :
Timed out during operation: cannot acquire state change lock

Search engines gave me this:

http://comments.gmane.org/gmane.comp.emulators.libvirt/28718

I have not verified that the patch mentioned solves the problem
for me. I cannot reproduce the problem reliably, but it's happened
a couple of times now.

If I restart libvirtd things start working again. The restarting
fails, though: libvirtd stays running. I killed it with SIGKILL,
before running "/etc/init.d/libvirt start".


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser                3.112             add and remove users and groups
ii  libavahi-client3       0.6.27-2          Avahi client library
ii  libavahi-common3       0.6.27-2          Avahi common library
ii  libblkid1              2.17.2-3.3        block device id library
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libcap-ng0             0.6.4-1           An alternate posix capabilities li
ii  libdevmapper1.02.1     2:1.02.48-3       The Linux Kernel Device Mapper use
ii  libgcrypt11            1.4.5-2           LGPL Crypto library - runtime libr
ii  libgnutls26            2.8.6-1           the GNU TLS library - runtime libr
ii  libnl1                 1.1-5             library for dealing with netlink s
ii  libparted0debian1      2.3-3             The GNU Parted disk partitioning s
ii  libpciaccess0          0.12.0-1          Generic PCI access library for X
ii  libreadline6           6.1-3             GNU readline and history libraries
ii  libsasl2-2             2.1.23.dfsg1-6    Cyrus SASL - authentication abstra
ii  libudev0               163-2             libudev shared library
ii  libuuid1               2.17.2-3.3        Universally Unique ID library
ii  libvirt0               0.8.3-3           library for interfacing with diffe
ii  libxenstore3.0         4.0.1-1           Xenstore communications library fo
ii  libxml2                2.7.7.dfsg-4      GNOME XML library
ii  logrotate              3.7.8-6           Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils              1.4-5          Utilities for configuring the Linu
ii  dnsmasq-base              2.55-2         A small caching DNS proxy and DHCP
ii  gawk                      1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  iptables                  1.4.8-3        administration tools for packet fi
ii  libxml2-utils             2.7.7.dfsg-4   XML utilities
ii  netcat-openbsd            1.89-4         TCP/IP swiss army knife
ii  qemu                      0.12.5+dfsg-2  fast processor emulator
ii  qemu-kvm                  0.12.5+dfsg-4  Full virtualization on x86 hardwar

Versions of packages libvirt-bin suggests:
ii  policykit-1                   0.96-3     framework for managing administrat

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list