[Pkg-libvirt-maintainers] Bug#565895: virt-manager: cannot clone VMs with interface type='ethernet'

Tino Keitel tino.keitel+debbugs at tikei.de
Tue Jan 19 13:39:39 UTC 2010


Package: virt-manager
Version: 0.8.2-1
Severity: normal

I try to clone a VM with this network configuration:

    <interface type='ethernet'>
      <mac address='52:54:00:38:53:95'/>
      <target dev='m0d0'/>
      <model type='e1000'/>
    </interface>

and get this error:

Error setting clone parameters: cannot concatenate 'str' and 'NoneType'
objects

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 664, in
clone_domain
    clone_window.show()
  File "/usr/share/virt-manager/virtManager/clone.py", line 142, in show
    self.reset_state()
  File "/usr/share/virt-manager/virtManager/clone.py", line 190, in
reset_state
    self.populate_network_list()
  File "/usr/share/virt-manager/virtManager/clone.py", line 271, in
populate_network_list
    net_dev and " %s" % net_dev or "")
TypeError: cannot concatenate 'str' and 'NoneType' objects

The culprit seems to be the interface type. This configuration can be
cloned:

    <interface type='ethernet'>
      <mac address='52:54:00:38:53:95'/>
      <target dev='m0d0'/>
      <model type='e1000'/>
    </interface>


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

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

Versions of packages virt-manager depends on:
ii  librsvg2-common               2.26.0-1   SAX-based renderer library for SVG
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-glade2                 2.16.0-1   GTK+ bindings: Glade support
ii  python-gnome2                 2.28.0-1   Python bindings for the GNOME desk
ii  python-gtk-vnc                0.3.9-1    A VNC viewer widget for GTK+ (Pyth
ii  python-gtk2                   2.16.0-1   Python bindings for the GTK+ widge
ii  python-libvirt                0.7.2-3    libvirt Python bindings
ii  python-support                1.0.4      automated rebuilding support for P
ii  python-urlgrabber             3.1.0-4    A high-level cross-protocol url-gr
ii  python-vte                    1:0.22.2-2 Python bindings for the VTE widget
ii  virtinst                      0.500.1-2  Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  hal                           0.5.13-4   Hardware Abstraction Layer
ii  libvirt-bin                   0.7.2-3    the programs for the libvirt libra

Versions of packages virt-manager suggests:
ii  virt-viewer                   0.0.3-2    Displaying the graphical console o

-- debconf-show failed





More information about the Pkg-libvirt-maintainers mailing list