Re: How do remote connections through virt-manager work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Richard W.M. Jones wrote:
| There are a number of reasons why this might not work.
|
| Libvirt over SSH requires passwordless logins (eg. using ssh agent).
| It also needs a netcat ("nc") program available on the remote side and
| the netcat program has to support UDP sockets -- this isn't true on
| Debian for example.
|

Are these requirements somewhere documented? I couldn't find this.

| Take a look at the virt-manager log file (in /root/.virt-manager) for
| more clues and also tell us what versions and operating systems you're
| actually running.
|

on the client side:
virt-manager-0.5.3-8.el5

on the server side:
nc-1.84-10.fc6
libvirt-0.3.3-7.el5
xen-3.0.3-64.el5

both machines run with RHEL5.2. On the server I can loging without a password
(my pub key is in /root/.ssh/authorized_keys)

Attached is the relevant part of virt-manager.log

Any more info I can provide?

Thanks,
Alexander.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFINr5bhmd3WOiFct4RCp+eAJwKj88KvvTy4U4COGP7YFTueTyJJgCgmGAP
nibHf5WhqNn0fjWs1ZGrjgg=
=AyuQ
-----END PGP SIGNATURE-----
[Fri, 23 May 2008 14:44:21 virt-manager 28164] INFO (virt-manager:126) Application startup
[Fri, 23 May 2008 14:44:22 virt-manager 28165] DEBUG (engine:74) About to connect to uris ['xen:///']
[Fri, 23 May 2008 14:44:33 virt-manager 28165] DEBUG (connect:116) Connection to open is xen+ssh://root@host/
[Fri, 23 May 2008 14:44:33 virt-manager 28165] DEBUG (connection:293) Scheduling background open thread for xen+ssh://root@host/
[Fri, 23 May 2008 14:44:33 virt-manager 28165] DEBUG (connection:300) Background thread is running
[Fri, 23 May 2008 14:44:38 virt-manager 28165] ERROR (connection:325) Unable to open connection to hypervisor URI 'xen+ssh://root@host/':
libvirt.libvirtError virConnectOpenReadOnly() failed Connection reset by peer
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 307, in _open_thread
    self.vmm = libvirt.openReadOnly(self.uri)
  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 132, in openReadOnly
    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirtError: virConnectOpenReadOnly() failed Connection reset by peer

[Fri, 23 May 2008 14:44:38 virt-manager 28165] DEBUG (connection:329) Background open thread complete, scheduling notify
[Fri, 23 May 2008 14:44:38 virt-manager 28165] DEBUG (connection:338) Notifying open result
[Fri, 23 May 2008 14:46:53 virt-manager 28165] DEBUG (connect:116) Connection to open is xen+ssh://root@host/
[Fri, 23 May 2008 14:46:53 virt-manager 28165] DEBUG (connection:293) Scheduling background open thread for xen+ssh://root@host/
[Fri, 23 May 2008 14:46:53 virt-manager 28165] DEBUG (connection:300) Background thread is running
[Fri, 23 May 2008 14:46:58 virt-manager 28165] ERROR (connection:325) Unable to open connection to hypervisor URI 'xen+ssh://root@host/':
libvirt.libvirtError virConnectOpenReadOnly() failed Connection reset by peer
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 307, in _open_thread
    self.vmm = libvirt.openReadOnly(self.uri)
  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 132, in openReadOnly
    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirtError: virConnectOpenReadOnly() failed Connection reset by peer

[Fri, 23 May 2008 14:46:58 virt-manager 28165] DEBUG (connection:329) Background open thread complete, scheduling notify
[Fri, 23 May 2008 14:46:58 virt-manager 28165] DEBUG (connection:338) Notifying open result

Attachment: virt-manager.log.sig
Description: PGP signature

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux