← Back to team overview

openstack team mailing list archive

Xen and openstack

 

Hi all,

On this page <http://docs.openstack.org/diablo/openstack-compute/admin/content/selecting-a-hypervisor.html>, one can see that XenServer 5.6 and XCP are supported. Is there any chance to run xen VMs using just the 'xen hypervisor' package from linux distributions?

This means: bare metal -> Fedora 16 -> nova-compute -> VM

is the page: http://wiki.openstack.org/XenServerDevelopment still valid for this configuration?


If yes, I get an error when testing the connection:

sudo nova-manage shell python

>>> import XenAPI
>>> import nova.virt.xenapi_conn
>>> nova.virt.xenapi_conn.XenAPI = XenAPI
>>> x = nova.virt.xenapi_conn.XenAPIConnection("http://localhost";, "", "")
Traceback (most recent call last):
  File "<console>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/nova/virt/xenapi_conn.py", line 162, in __init__
    self._session = XenAPISession(url, user, pw)
File "/usr/lib/python2.7/site-packages/nova/virt/xenapi_conn.py", line 362, in __init__
    self._session.login_with_password(user, pw)
  File "/usr/lib/python2.7/site-packages/XenAPI.py", line 182, in <lambda>
    return lambda *params: self._login(name, params)
  File "/usr/lib/python2.7/site-packages/XenAPI.py", line 148, in _login
    result = _parse_result(getattr(self, 'session.%s' % method)(*params))
  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/lib64/python2.7/httplib.py", line 754, in connect
    self.timeout, self.source_address)
File "/usr/lib/python2.7/site-packages/eventlet/green/socket.py", line 59, in create_connection
    raise error, msg
error: [Errno 111] ECONNREFUSED


thank you

michaël

--
Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi


Follow ups