[libvirt-users] libvirt tls error

centos6.3,libvirt 0.9.10. [root@ovirtdev private]# virsh -c qemu+tls://ovirtdev.localhost/system list 2013-04-22 03:37:09.362+0000: 9898: info : libvirt version: 0.9.10, package: 21.el6_3.8 (CentOS BuildSystem <http://bugs.centos.org>, 2013-01-28-19:24:16, c6b10.bsys.dev.centos.org) 2013-04-22 03:37:09.362+0000: 9898: warning : virNetClientIncomingEvent:1665 : Something went wrong during async message processing error: Unable to read TLS confirmation: Input/output error error: failed to connect to the hypervisor thanks

On Mon, Apr 22, 2013 at 12:03:43PM +0800, yue wrote:
centos6.3,libvirt 0.9.10. [root@ovirtdev private]# virsh -c qemu+tls://ovirtdev.localhost/system list 2013-04-22 03:37:09.362+0000: 9898: info : libvirt version: 0.9.10, package: 21.el6_3.8 (CentOS BuildSystem <http://bugs.centos.org>, 2013-01-28-19:24:16, c6b10.bsys.dev.centos.org) 2013-04-22 03:37:09.362+0000: 9898: warning : virNetClientIncomingEvent:1665 : Something went wrong during async message processing error: Unable to read TLS confirmation: Input/output error error: failed to connect to the hypervisor
thanks
I get a very similar error with an updated Centos 6.4 distro: [root@darkgoo ~]# virsh -c qemu+tls://hvmsrv03/system 2013-05-28 14:54:53.154+0000: 7548: info : libvirt version: 1.0.2 2013-05-28 14:54:53.154+0000: 7548: warning : virNetTLSContextCheckCertificate:1093 : Certificate check failed Certificate [session] owner does not match the hostname hvmsrv03 error: failed to connect to the hypervisor error: authentication failed: Failed to verify peer's certificate [root@hvmsrv03 ~]# libvirtd -v -l 2013-05-28 14:43:39.540+0000: 9414: info : libvirt version: 0.10.2, package: 18.el6_4.5 (CentOS BuildSystem <http://bugs.centos.org>, 2013-05-16-14:53:18, c6b7.bsys.dev.centos.org) 2013-05-28 14:43:39.540+0000: 9414: error : virNetSocketReadWire:1176 : Cannot recv data: Input/output error iptables and selinux are temporarely disabled. Any advice?

On Tue, May 28, 2013 at 05:00:05PM +0200, Francesco wrote:
On Mon, Apr 22, 2013 at 12:03:43PM +0800, yue wrote:
centos6.3,libvirt 0.9.10. [root@ovirtdev private]# virsh -c qemu+tls://ovirtdev.localhost/system list 2013-04-22 03:37:09.362+0000: 9898: info : libvirt version: 0.9.10, package: 21.el6_3.8 (CentOS BuildSystem <http://bugs.centos.org>, 2013-01-28-19:24:16, c6b10.bsys.dev.centos.org) 2013-04-22 03:37:09.362+0000: 9898: warning : virNetClientIncomingEvent:1665 : Something went wrong during async message processing error: Unable to read TLS confirmation: Input/output error error: failed to connect to the hypervisor
thanks
I get a very similar error with an updated Centos 6.4 distro:
[root@darkgoo ~]# virsh -c qemu+tls://hvmsrv03/system
[session] owner does not match the hostname hvmsrv03 error: failed to connect to the hypervisor error: authentication failed: Failed to verify peer's certificate
This indicates the problem. The hostname you have used when creating the certificate does not match the hostname in the libvirt URI (hvmsrv03). Presumably the certificate has the fully qualified hostname Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (3)
-
Daniel P. Berrange
-
Francesco
-
yue