On 03/08/2012 12:16 PM, Dan Kenigsberg wrote:
On Thu, Mar 08, 2012 at 12:04:45PM +0100, Saša Tomić wrote:
To have this removed, make sure /etc/vdsm/vdsm.conf has ssl=false,
and run
     /lib/systemd/systemd-vdsmd reconfigure

Basically, I believe that you have found a bug with the default
certificate that Vdsm creates for itself when it is installed.
Thanks.
Let's see if you can work with ssl=false.

Dan.

Fantastic! This was the key! I finally have libvirtd running :)
I previously tried "service libvirtd reconfigure", which of course didn't work.

Now "service vdsmd start" also works OK, and the
[root@fedora16 log]# vdsClient 0 getVdsCaps
prints several screens of info

Then:
 [root@fedora16 log]# vdsClient -s 0 getVdsCaps
prints the following, but I guess that's OK since I disabled SSL.

Traceback (most recent call last):
  File "/usr/share/vdsm/vdsClient.py", line 2050, in <module>
    code, message = commands[command][0](commandArgs)
  File "/usr/share/vdsm/vdsClient.py", line 372, in do_getCap
    return self.ExecAndExit(self.s.getVdsCapabilities())
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1292, in single_request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1439, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python2.7/httplib.py", line 951, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 811, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 773, in send
    self.connect()
File "/usr/lib/python2.7/site-packages/vdsm/SecureXMLRPCServer.py", line 98, in connect
    cert_reqs=self.cert_reqs)
  File "/usr/lib64/python2.7/ssl.py", line 372, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib64/python2.7/ssl.py", line 134, in __init__
    self.do_handshake()
  File "/usr/lib64/python2.7/ssl.py", line 296, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:503: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol


Thanks to everybody!

--
best regards,
Saša

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to