Why does 'virt-who' fail to run on RHEL 7 based RHEV hosts?
Issue
- After installing and configuring
virt-who
on a RHEL 7 based RHEV host (RHEL-H) as described in article How to configure virt-who in VDSM mode to work with RHEL-H?,virt-who
fails to run:
# virt-who --one-shot
Using configuration "satellite.example.com" ("vdsm" mode)
Virt backend 'satellite.example.com' fails with exception:
#
- Running
virt-who
in debug mode reveals a "sslv3 alert handshake failure
" error:
# virt-who --one-shot --debug
2016-05-18 19:00:19,008 DEBUG: Using config named 'satellite.example.com'
2016-05-18 19:00:19,009 INFO: Using configuration "satellite.example.com" ("vdsm" mode)
2016-05-18 19:00:19,236 ERROR: Virt backend 'satellite.example.com' fails with exception:
Traceback (most recent call last):
File "/usr/share/virt-who/virt/virt.py", line 301, in run
self._run()
File "/usr/share/virt-who/virt/virt.py", line 332, in _run
report = self._get_report()
File "/usr/share/virt-who/virt/virt.py", line 276, in _get_report
return DomainListReport(self.config, self.listDomains())
File "/usr/share/virt-who/virt/vdsm/vdsm.py", line 123, in listDomains
response = self.server.list(True)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/site-packages/M2Crypto/m2xmlrpclib.py", line 49, in request
h.endheaders()
File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 835, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 797, in send
self.connect()
File "/usr/lib64/python2.7/site-packages/M2Crypto/httpslib.py", line 58, in connect
sock.connect((self.host, self.port))
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 185, in connect
ret = self.connect_ssl()
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 178, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
SSLError: sslv3 alert handshake failure
2016-05-18 19:00:20,242 DEBUG: virt-who shut down started
#
Environment
- Red Hat Enterprise Virtualization 3.5 or later.
- Red Hat Enterprise Linux 7 hosts (either RHEV-H or RHEL-H).
virt-who
version 0.14-9.el7 or earlier.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.