[Openstack] Openstack XCP with OVS Quantum

Bob Ball bob.ball at citrix.com
Fri Oct 4 14:27:00 UTC 2013


While I'm a big supporter of xenserver-core (which is the name of the packages Endre mentions) - the packages and their OpenStack integration is currently very new.  We're working through a number of issues in the packaging at the moment and will hopefully have a more stable point in a few weeks' time.

For the time being I would personally recommend using XenServer 6.2 - which is also free, unlicensed and fully open source.

On the other hand, if you chose to use xenserver-core and find issues, please report them on github (https://github.com/xapi-project/xenserver-core/) and we'll get them fixed as soon as we can - or submit a pull request if you find the fix yourself!

Bob

From: Endre Karlson [mailto:endre.karlson at gmail.com]
Sent: 04 October 2013 14:57
To: Rajshree Thorat
Cc: openstack at ask.openstack.org; openstack Users
Subject: Re: [Openstack] Openstack XCP with OVS Quantum

I'll suggest you to move away from XCP if you can and check out the new work done by Citrix to make XenServer packages / functionality available to be installed on stuff like CentOS 6 and Ubuntu + others.

Endre.

2013/10/4 Rajshree Thorat <rajshree.thorat at gslab.com<mailto:rajshree.thorat at gslab.com>>
Hi,

I am trying to use Openstack Grizzly to control XCP hypervisor with quantum ovs plugin. I tried with the steps which are mentioned in official document (http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/introduction-to-xen.html#xen-config-reference) but it doesn't work for me. I am not able to start nova-compute service. It is giving me following error:

2013-10-04 18:23:44.861 32548 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative
2013-10-04 18:23:44.902 32548 INFO nova.virt.driver [-] Loading compute driver 'xenapi.XenAPIDriver'
2013-10-04 18:23:44.922 32548 CRITICAL nova [-] [Errno 111] ECONNREFUSED
2013-10-04 18:23:44.922 32548 TRACE nova Traceback (most recent call last):
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/bin/nova-compute", line 83, in <module>
2013-10-04 18:23:44.922 32548 TRACE nova     db_allowed=False)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 534, in create
2013-10-04 18:23:44.922 32548 TRACE nova     db_allowed=db_allowed)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in __init__
2013-10-04 18:23:44.922 32548 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 353, in __init__
2013-10-04 18:23:44.922 32548 TRACE nova     self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 931, in load_compute_driver
2013-10-04 18:23:44.922 32548 TRACE nova     virtapi)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 51, in import_object_ns
2013-10-04 18:23:44.922 32548 TRACE nova     return import_class(import_value)(*args, **kwargs)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 139, in __init__
2013-10-04 18:23:44.922 32548 TRACE nova     self._session = XenAPISession(url, username, password, self.virtapi)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 630, in __init__
2013-10-04 18:23:44.922 32548 TRACE nova     url = self._create_first_session(url, user, pw, exception)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 641, in _create_first_session
2013-10-04 18:23:44.922 32548 TRACE nova session.login_with_password(user, pw)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 182, in <lambda>
2013-10-04 18:23:44.922 32548 TRACE nova     return lambda *params: self._login(name, params)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 148, in _login
2013-10-04 18:23:44.922 32548 TRACE nova     result = _parse_result(getattr(self, 'session.%s' % method)(*params))
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
2013-10-04 18:23:44.922 32548 TRACE nova     return self.__send(self.__name, args)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
2013-10-04 18:23:44.922 32548 TRACE nova     verbose=self.__verbose
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
2013-10-04 18:23:44.922 32548 TRACE nova     return self.single_request(host, handler, request_body, verbose)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py", line 1292, in single_request
2013-10-04 18:23:44.922 32548 TRACE nova     self.send_content(h, request_body)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py", line 1439, in send_content
2013-10-04 18:23:44.922 32548 TRACE nova connection.endheaders(request_body)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
2013-10-04 18:23:44.922 32548 TRACE nova self._send_output(message_body)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
2013-10-04 18:23:44.922 32548 TRACE nova     self.send(msg)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/httplib.py", line 776, in send
2013-10-04 18:23:44.922 32548 TRACE nova     self.connect()
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/httplib.py", line 757, in connect
2013-10-04 18:23:44.922 32548 TRACE nova     self.timeout, self.source_address)
2013-10-04 18:23:44.922 32548 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 59, in create_connection
2013-10-04 18:23:44.922 32548 TRACE nova     raise error, msg
2013-10-04 18:23:44.922 32548 TRACE nova error: [Errno 111] ECONNREFUSED
2013-10-04 18:23:44.922 32548 TRACE nova

It seems network with openvswitch is not configured properly.  Is there any OVS quantum plugin requires to run under dom0?  Is there any document which can briefly describe how Openstack + XCP works with OVS Quantum?

Regards,
Rajshree

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131004/8b3a853a/attachment.html>


More information about the Openstack mailing list