[Pkg-libvirt-maintainers] Bug#519809: virt-manager: virtual machine console does not work with automatically allocated port

Andreas Unterkircher unki at netshadow.at
Sun Mar 15 12:26:47 UTC 2009


Package: virt-manager
Version: 0.6.0-6
Severity: important


When I create a new guest via Virtual Machine Manager, the initial display is
set to VNC with the VNC port automatically allocated. When I now power up the
guest and switch to the console tab, I just see a message:

  Console is not yet active for guest

virt-manager.log then contains:

[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (manager:427) VM test2 started
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1042) Got timed retry
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1094) Trying console login
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1108) Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] WARNING (details:1032) Retrying connection in 500 ms
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1042) Got timed retry
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1094) Trying console login
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] DEBUG (details:1108) Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 13:18:10 virt-manager 29289] WARNING (details:1032) Retrying connection in 1000 ms
[Sun, 15 Mar 2009 13:18:11 virt-manager 29289] DEBUG (details:1042) Got timed retry
[Sun, 15 Mar 2009 13:18:11 virt-manager 29289] DEBUG (details:1094) Trying console login
[Sun, 15 Mar 2009 13:18:11 virt-manager 29289] DEBUG (details:1108) Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 13:18:11 virt-manager 29289] WARNING (details:1032) Retrying connection in 2000 ms
[Sun, 15 Mar 2009 13:18:13 virt-manager 29289] DEBUG (details:1042) Got timed retry
[Sun, 15 Mar 2009 13:18:13 virt-manager 29289] DEBUG (details:1094) Trying console login
[Sun, 15 Mar 2009 13:18:13 virt-manager 29289] DEBUG (details:1108) Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 13:18:13 virt-manager 29289] WARNING (details:1032) Retrying connection in 2000 ms
[Sun, 15 Mar 2009 13:18:15 virt-manager 29289] DEBUG (engine:543) Shutting down vm 'test2'.
[Sun, 15 Mar 2009 13:18:15 virt-manager 29289] DEBUG (details:1042) Got timed retry
[Sun, 15 Mar 2009 13:18:15 virt-manager 29289] DEBUG (details:1094) Trying console login
[Sun, 15 Mar 2009 13:18:16 virt-manager 29289] DEBUG (details:1108) Graphics console configured at vnc://127.0.0.1:-1
[Sun, 15 Mar 2009 13:18:16 virt-manager 29289] WARNING (details:1032) Retrying connection in 2000 ms

When I remove the automatically inserted display adapter and add a new graphic
device (type VNC server) with a manually choosen port (for example 5900), the
console gets displayed correctly. Re-adding back the graphic device with an
automatically allocated VNC ports reproduce the problem with the initial
graphic device.

Cheers,
Andreas

-- 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.0-7      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.4.6-10   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