[Pkg-libvirt-maintainers] Bug#593365: Bug#593365: Virt-manager with libvirt 0.8.2-1 can't connect to server running Lenny anymore

Jeroen Dekkers jeroen at dekkers.ch
Fri Oct 1 00:22:40 UTC 2010


At Thu, 30 Sep 2010 20:32:01 +0200,
Guido Günther wrote:
> 
> On Thu, Sep 30, 2010 at 06:22:15PM +0200, Guido Günther wrote:
> > On Thu, Sep 30, 2010 at 06:00:04PM +0200, Jeroen Dekkers wrote:
> > > I actually just tried again using virt-manager with libvirt 0.8.3-1
> > > and I got the same problem. I've got 3 servers with Lenny that I can't
> > > connect to. A fourth server is running Lenny with a kernel, kvm and
> > > libvirt from backports and I can connect to that one without problems.
> > That weird since I used that one too. You're using netcat-openbsd on the
> > affected machines for sure?
> 
> If you wouldn't it wouldn't get that far. Could you run libvirtd on the
> remote lenny box like (as root):
> 
> 	LIBVIRT_DEBUG=1 libvirtd
> 
> and see if there's something in the log output? Look for something like 
> 
> 	"libVir=%p, type=%s, typeVer=%p"

It's strange that you can't reproduce the bug, because I just
installed 2 virtual machines in virtualbox, one lenny with libvirtd
and one squeeze with virt-manager and I see the problem there.

Running with LIBVIRT_DEBUG as you suggest gives the following output:

debian:~# LIBVIRT_DEBUG=1 libvirtd
DEBUG: libvirt.c: virInitialize (register drivers)
DEBUG: libvirt.c: virConnectOpen (name=qemu:///system)
DEBUG: libvirt.c: do_open (name "qemu:///system" to URI components:
  scheme qemu
  opaque (null)
  authority (null)
  server (null)
  user (null)
  port 0
  path /system
)
DEBUG: libvirt.c: do_open (trying driver 0 (Test) ...)
DEBUG: libvirt.c: do_open (driver 0 Test returned DECLINED)
DEBUG: libvirt.c: do_open (trying driver 1 (Xen) ...)
DEBUG: libvirt.c: do_open (driver 1 Xen returned DECLINED)
DEBUG: libvirt.c: do_open (trying driver 2 (QEMU) ...)
DEBUG: libvirt.c: do_open (driver 2 QEMU returned SUCCESS)
DEBUG: libvirt.c: do_open (network driver 0 Test returned DECLINED)
DEBUG: libvirt.c: do_open (network driver 1 QEMU returned SUCCESS)
DEBUG: libvirt.c: do_open (storage driver 0 Test returned DECLINED)
DEBUG: libvirt.c: do_open (storage driver 1 storage returned SUCCESS)
DEBUG: libvirt.c: virConnectGetCapabilities (conn=0x1993b50)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virNodeGetInfo (conn=0x1993b50, info=0x7fff519bb6f0)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectGetVersion (conn=0x1993b50, hvVer=0x7fff519bb728)
DEBUG: libvirt.c: virConnectClose (conn=0x1993b50)
DEBUG: hash.c: virUnrefConnect (unref connection 0x1993b50 qemu:///system 1)
DEBUG: hash.c: virReleaseConnect (release connection 0x1993b50 qemu:///system)

The virConnectGetVersion repears every second until I close
virt-manager.

Regards,

Jeroen





More information about the Pkg-libvirt-maintainers mailing list