On Thu, Jan 22, 2009 at 06:10:47PM +0100, Daniel Schwager wrote: > > [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 This is simply due to SSL certs containing the hostname, which must match the hostname you connect to, so you can't use localhost with SSL. > [root@xxx03 ~]# virsh -c qemu+tls://xxx03.domainname.com list > libvir: error : could not connect to qemu:// > error: failed to connect to the hypervisor This is missing the /system on the end of the URL > [root@xxx03 ~]# virsh -c qemu+ssh://xxx03.domainname.com list > root@xxxxxxxxxxxxxxxxxxxx password: > libvir: error : could not connect to qemu:// > error: failed to connect to the hypervisor Again missing the trailing /system on the URL > > ** 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 You have a space in the URI between the hostname and the '/system' bit for some reason You need virsh -c qemu://xxx03.domainname.com/system Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list