[Pkg-libvirt-maintainers] Bug#459216: virt-manager: Loses CD drive and cant add a new one during W2K install

Jason Cormie j.cormie at abertay.ac.uk
Fri Jan 4 17:26:41 UTC 2008


Package: virt-manager
Version: 0.5.2-3
Severity: normal


I installed virt-manager and libvirt-bin, changed
/etc/default/libvirt-bin and started the daemon.
I launched virt-manager as root, connected to localhost and set up a new
VM with qemu. 
I selected a CD drive (with Windows 2003 already in) an image file for storage and a
bridged interface for network.

The installation worked OK until it came to reboot.

Instead of rebooting, the VM shutdown.  When I restarted it, it continued
with the installation process, but was missing the CD drive from the
list of hardware, therefore could not continue.

When I tried to add a CD drive(Normal disk partition, IDE cdrom), I got this message


  Unable to complete install 'exceptions.NameError global name
  'libvirtError' is not defined
  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/addhardware.py", line 530,
  in add_device
      self.vm.add_device(xml)
    File "/usr/share/virt-manager/virtManager/domain.py", line 684,
  in add_device
      except libvirtError, e:
    NameError: global name 'libvirtError' is not defined
  '

This prevented me from completing the installation




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages virt-manager depends on:
ii  libatk1.0-0              1.20.0-1        The ATK accessibility toolkit
ii  libc6                    2.7-5           GNU C Library: Shared libraries
ii  libcairo2                1.4.10-1+lenny2 The Cairo 2D vector graphics libra
ii  libffi4                  4.2.2-4         Foreign Function Interface library
ii  libglib2.0-0             2.14.3-1        The GLib library of C routines
ii  libgtk2.0-0              2.12.1-1        The GTK+ graphical user interface 
ii  libpango1.0-0            1.18.3-1        Layout and rendering of internatio
ii  librsvg2-common          2.18.2-1        SAX-based renderer library for SVG
ii  python-dbus              0.82.4-1        simple interprocess messaging syst
ii  python-glade2            2.12.0-2        GTK+ bindings: Glade support
ii  python-gnome2            2.20.0-1        Python bindings for the GNOME desk
ii  python-gtk-vnc           0.3.1-2         A VNC viewer widget for GTK+ (pyth
ii  python-gtk2              2.12.0-2        Python bindings for the GTK+ widge
ii  python-libvirt           0.4.0-1         libvirt python bindings
ii  python-urlgrabber        3.1.0-4         A high-level cross-protocol url-gr
ii  python-vte               1:0.16.11-1     Python bindings for the VTE widget
ii  python2.4                2.4.4-6         An interactive high-level object-o
ii  virtinst                 0.300.1-5       Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  hal                           0.5.10-5   Hardware Abstraction Layer

-- debconf-show failed





More information about the Pkg-libvirt-maintainers mailing list