Skip to contentSkip to conversation

xen4 on Debian and xmlrpc over ssl

DISCUSSION Alexandre Chapellon 1 participant 1 message Jun 10, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I am using xen for quite a while. To ensure better feeling for everybody here I use convirt as a VM life cycle manager.

Convirt uses XMLRPC api of xen to talk to the hypervisor, and I configured convirt to use it over SSL for peace of mind. It all worked nicely with Xen3.2 but I have recently discovered some issues, i assume comes from xen4.

My xend-debug.log are full of error messages like this:

|Traceback (most recent call last):
File "/usr/lib/python2.5/SocketServer.py", line 464, in
process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/xen-4.0/lib/python/xen/util/xmlrpclib2.py", line 106,
in <lambda>
requestHandler(allowed, x, y, z)),
File "/usr/lib/xen-4.0/lib/python/xen/util/xmlrpclib2.py", line 65,
in __init__
server)
File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
self.handle()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in
handle_one_request
method()
File "/usr/lib/xen-4.0/lib/python/xen/util/xmlrpclib2.py", line 90,
in do_POST
self.connection.shutdown(1)
File
"/usr/lib/xen-4.0/lib/python/xen/xend/server/SSLXMLRPCServer.py", line 67, in shutdown

    self.__dict__["conn"].shutdown()

Error: []
Exception in thread Thread-76:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner

    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)

File "/usr/lib/python2.5/SocketServer.py", line 468, in
process_request_thread
self.close_request(request)
File "/usr/lib/python2.5/SocketServer.py", line 378, in close_request
request.close()
File
"/usr/lib/xen-4.0/lib/python/xen/xend/server/SSLXMLRPCServer.py", line 56, in close
self.shutdown()
File
"/usr/lib/xen-4.0/lib/python/xen/xend/server/SSLXMLRPCServer.py", line 66, in shutdown

    self.__dict__["conn"].shutdown()

Error: []|

Some fonctionnality of convirt that used to work with xen3 do not work. As the error message seemed to involve use of SLL with XMLRPC. I modified my configuration convirt and xend to use cleartext XMLRPC... The error then disappeared and functionnalty that failed works again.

Does anybody has a clue what can cause thoose messages?

regards.