[Pkg-libvirt-maintainers] Bug#635721: libvirt0: ssh changes break virt-manager and qemu+ssh:// protocol

Luca Tettamanti kronos.it at gmail.com
Thu Jul 28 12:20:49 UTC 2011


Package: libvirt0
Version: 0.9.3-4
Severity: normal
Tags: patch


virt-manager is unable to connect to remote hosts using qemu+ssh://
protocol; the error (see below) is rather uninformative, but this isse
has already been debugged upstream, see here:

[libvirt] remote driver RPC API usage breaks launching ssh askpass
https://www.redhat.com/archives/libvir-list/2011-July/msg01259.html

In short, DISPLAY is not passed to ssh which is then unable to spawn
askpass to decrypt the private key for the connection.

A fix is already available upstream (tested recompiling debian package):

http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=e0a21dfef4a6ba9d09386cbedd2322aede0114dc

Error log:
Cannot recv data: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
: Connection reset by peer

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1055,
in _try_open
   None], flags)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 102, in openAuth
   if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Cannot recv data: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
: Connection reset by peer


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

Kernel: Linux 3.0.0 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt0 depends on:
ii  libc6   2.13-11                          Embedded GNU C Library: Shared lib
ii  libcap- 0.6.6-1                          An alternate POSIX capabilities li
ii  libdevm 2:1.02.63-3.1                    The Linux Kernel Device Mapper use
ii  libgcry 1.4.6-8                          LGPL Crypto library - runtime libr
ii  libgnut 2.10.5-3                         the GNU TLS library - runtime libr
ii  libnl1  1.1-7                            library for dealing with netlink s
ii  libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - authentication abstra
ii  libxens 4.1.1-1                          Xenstore communications library fo
ii  libxml2 2.7.8.dfsg-3                     GNOME XML library

Versions of packages libvirt0 recommends:
ii  lvm2                          2.02.84-3  The Linux Logical Volume Manager

libvirt0 suggests no packages.

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list