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

[libvirt] Probs connecting QEMU hypervisor with URL ?



Hi,

i tried to use virt-viewer to connect to a remote machine
running libvirt & kvm-qemu at FC9 - but it failed.

So, I run virsh without the URL directly on FC9, it works (e.g. virsh
list).
If I use a connection URL, it failed. 

Did I miss something ? 

regards
Danny

	
[root xxx03 ~]# virsh list
 Id Name                 State
----------------------------------

oot xxx03 ~]# virsh -c  qemu+tls://localhost list
libvir: Remote error : Certificate's owner does not match the hostname
(localhost)
libvir: Remote error : unable to connect to 'localhost': Invalid
argument
error: failed to connect to the hypervisor

[root xxx03 ~]# virsh -c  qemu+tls://xxx03.domainname.com list
libvir: error : could not connect to qemu://
error: failed to connect to the hypervisor

*** Port is available:
[root@ xxx03 ~]# netstat -nl | grep 16514
tcp        0      0 0.0.0.0:16514               0.0.0.0:*
LISTEN      

*** Also, a ssh does not work:
[root xxx03 ~]# virsh -c  qemu+ssh://xxx03.domainname.com list
root xxx03 domainname com password: 
libvir: error : could not connect to qemu://
error: failed to connect to the hypervisor

** Connecting directly works:

[root@ xxx03 ~]# virsh  -c qemu:///system  list
 Id Name                 State
----------------------------------

** but not with the remote name like
[root@ xxx03 ~]# virsh  -c qemu://xxx03.domainname.com /system  list
libvir: error : could not connect to qemu://xxx03.domainname.com /system
error: failed to connect to the hypervisor


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