[Openstack] Openstack XCP with OVS Quantum

Endre Karlson endre.karlson at gmail.com
Fri Oct 4 13:56:38 UTC 2013


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>

> 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<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 <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> openstack <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/7c1323ea/attachment.html>


More information about the Openstack mailing list