[Pkg-libvirt-maintainers] Bug#506120: virtinst: fails with "libvirtError: virConnectListDefinedDomains() failed"

existentialhero7 existentialhero7 at gmail.com
Tue Nov 18 14:03:32 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: virtinst
Version: 0.300.3-6
Severity: important

When I run virt-install to build a KVM image using either command-line
options or the dialog interface, it fails when attempting to load the
block device, which in this case is a cryptsetup partition sitting on LVM:
Tue, 18 Nov 2008 00:20:53 ERROR    virConnectListDefinedDomains() failed
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 497, in <module>
    main()
  File "/usr/bin/virt-install", line 407, in main
    guest, hvm, conn)
  File "/usr/bin/virt-install", line 114, in get_disks
    get_disk(disk, size, sparse, guest, hvm, conn)
  File "/usr/bin/virt-install", line 82, in get_disk
    if d.is_conflict_disk(conn) is True:
  File "/var/lib/python-support/python2.5/virtinst/Guest.py", line
204, in is_conflict_disk
    names = conn.listDefinedDomains()
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 1109, in
listDefinedDomains
    if ret is None: raise libvirtError
('virConnectListDefinedDomains() failed', conn=self)
libvirtError: virConnectListDefinedDomains() failed

virt-manager's "Add" dialog has an analogous error; in that case, when
I reach the stage of choosing a storage device, the "Forward" button
simply stops working.

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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtinst depends on:
ii  python                     2.5.2-3       An interactive high-level
object-o
ii  python-libvirt             0.4.4-3       libvirt Python bindings
ii  python-libxml2             2.6.32.dfsg-4 Python bindings for the
GNOME XML
ii  python-support             0.8.4         automated rebuilding
support for P
ii  python-urlgrabber          3.1.0-4       A high-level
cross-protocol url-gr

Versions of packages virtinst recommends:
ii  virt-viewer                   0.0.3-2    Displaying the graphical
console o

virtinst suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkiyzMACgkQ9rVF8Mse7fbcegCfbfpPJJ9bn0p7v0afUlhk0Ozd
R58AoIQZRz1p5fFbP4XEmKZOsTwm8GDx
=NVJA
-----END PGP SIGNATURE-----






More information about the Pkg-libvirt-maintainers mailing list