[Pkg-libvirt-maintainers] Bug#663931: libvirt-bin: libvirtd make "udevadm settle" respond too slow

Ernesto Domato edomat at gmail.com
Wed Mar 14 03:33:01 UTC 2012


Package: libvirt-bin
Version: 0.9.9-3+b2
Severity: normal

Hi, I wasn't able to connect to libvirtd with virt-manager due to timeouts.

Debuging the problem, I found that at startup virt-manager does a pool-refresh of the
pools defined on libvirt to check for new pools. This command takes too long to respond
(about 3 minutes). Then I found running libvirtd on debug mode that it calls
"udevadm settle" on startup. This command also takes about 3 minutes to respond.

The only way that I found to solve this problem was to restart the udevd process by
/etc/init.d/udev restart

After that, "udevadm settle" and "virsh pool-refresh server" for example does respond
almost instantly.

server is the pool that I defined for the virtual images and is a LVM group.

Not using LVM doesn't generates this problem.

So, it seems that when libvirtd is started and there's a pool that use LVM it
mess with udev somehow that produce this behavior.

I don't know if this is a problem with libvirtd, udev or LVM and I don't have
the sufficient knowledge to debug it.

Anything else that you may need to try to resolve this problem let me know
and excuse for my english but it's not my native language.

Thanks for all.
Ernesto

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt-bin depends on:
ii  adduser             3.113+nmu1
ii  gettext-base        0.18.1.1-5
ii  libavahi-client3    0.6.31-1
ii  libavahi-common3    0.6.31-1
ii  libblkid1           2.20.1-4
ii  libc6               2.13-27
ii  libcap-ng0          0.6.6-1
ii  libdevmapper1.02.1  2:1.02.67-2
ii  libgcrypt11         1.5.0-3
ii  libgnutls26         2.12.17-2
ii  libnetcf1           0.1.9-2
ii  libnl1              1.1-7
ii  libnuma1            2.0.8~rc3-1
ii  libparted0debian1   2.3-8
ii  libpcap0.8          1.2.1-1
ii  libpciaccess0       0.13-1
ii  libreadline6        6.2-8
ii  libsasl2-2          2.1.25.dfsg1-4
ii  libudev0            175-3.1
ii  libvirt0            0.9.9-3+b2
ii  libxenstore3.0      4.1.2-3
ii  libxml2             2.7.8.dfsg-7
ii  libyajl2            2.0.4-2
ii  logrotate           3.8.1-1

Versions of packages libvirt-bin recommends:
ii  bridge-utils    1.5-2
ii  dmidecode       2.11-5
ii  dnsmasq-base    2.60-1
ii  ebtables        <none>
ii  gawk            1:3.1.8+dfsg-0.1
ii  iproute         20120105-1
ii  iptables        1.4.12.2-1
ii  libxml2-utils   2.7.8.dfsg-7
ii  netcat-openbsd  <none>
ii  parted          2.3-8
ii  qemu-kvm        1.0+dfsg-9

Versions of packages libvirt-bin suggests:
pn  policykit-1  0.104-2
pn  radvd        <none>

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list