[Pkg-libvirt-maintainers] Bug#520772: virt-manager: migrate Xen guests fails with python error

Andreas Unterkircher unki at netshadow.at
Sun Mar 22 16:44:22 UTC 2009


Package: virt-manager
Version: 0.6.1-5~mm.1
Severity: normal


While I can migrate a guest between two Xen hosts with libvirt/virsh
(migrate --live domU xen+tls://...,), virt-manager fails to do so.

When I do a right-click on the guest -> Migrate -> the other node,
virt-manager just prints

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/manager.py", line 1120, in migrate
    self.emit("action-migrate-domain", vm.get_connection().get_uri(), vm.get_uui
d(), host_uri)
UnboundLocalError: local variable 'host_uri' referenced before assignment

The same message get logged to virt-manager.log as well.

Upstream (0.7.0) has some changes around the migrate function. There it might
be fixed.

Cheers,
Andreas

PS: Sorry for the many bugreports :-)


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages virt-manager depends on:
ii  libatk1.0-0               1.22.0-1       The ATK accessibility toolkit
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libcairo2                 1.6.4-7        The Cairo 2D vector graphics libra
ii  libglib2.0-0              2.16.6-1       The GLib library of C routines
ii  libgtk2.0-0               2.12.11-4      The GTK+ graphical user interface 
ii  libpango1.0-0             1.20.5-3       Layout and rendering of internatio
ii  librsvg2-common           2.22.2-2lenny1 SAX-based renderer library for SVG
ii  python-dbus               0.82.4-2       simple interprocess messaging syst
ii  python-glade2             2.12.1-6       GTK+ bindings: Glade support
ii  python-gnome2             2.22.0-1       Python bindings for the GNOME desk
ii  python-gtk-vnc            0.3.8-2        A VNC viewer widget for GTK+ (Pyth
ii  python-gtk2               2.12.1-6       Python bindings for the GTK+ widge
ii  python-libvirt            0.4.6-10       libvirt Python bindings
ii  python-urlgrabber         3.1.0-4        A high-level cross-protocol url-gr
ii  python-vte                1:0.16.14-4    Python bindings for the VTE widget
ii  python2.5                 2.5.2-15       An interactive high-level object-o
ii  virtinst                  0.400.1-3~mm.1 Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  hal                         0.5.11-8     Hardware Abstraction Layer
ii  libvirt-bin                 0.6.1-2~mm.1 the programs for the libvirt libra

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

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list