[openstack-dev] XCP/Xenapi on Ubuntu Precise on folsom

Matthew Mosesohn mmosesohn at mirantis.com
Fri Jan 18 16:13:54 UTC 2013


Hi all,

I was wondering if any of you have run into issues with using Xenapi/XCP on
Folsom with Ubuntu Precise.

I'm encountering issues with getting nova-compute to talk to xenapi
correctly.  It's not rejecting the request, but giving a strange error.

Here is my nova.conf on compute node:
sql_connection=mysql://USER:PASS@10.0.0.101/nova
network_manager=nova.network.manager.FlatManager
image_service=nova.image.glance.GlanceImageService
flat_network_bridge=xenbr0
compute_driver=xenapi.XenAPIDriver
xenapi_connection_url=https://127.0.0.1
xenapi_connection_username=root
xenapi_connection_password=PASS
rescue_timeout=86400
xenapi_inject_image=false


Here is the error I'm seeing from nova-compute.log:

2013-01-17 06:33:54 AUDIT nova.service [-] Starting compute node
(version 2012.2-LOCALBRANCH:L

OCALREVISION)

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line
97, in wait

    readers.get(fileno, noop).cb(fileno)

  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py",
line 192, in main

    result = function(*args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/nova/service.py", line 132,
in run_server

    server.start()

  File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start

    self.manager.init_host()

  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py",
line 272, in init_host

    self.driver.init_host(host=self.host)

  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py",
line 164, in init_host

    vm_utils.ensure_correct_host(self._session)

  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py",
line 2162, in ensure_c

orrect_host

    raise Exception(_('This domU must be running on the host '

Exception: This domU must be running on the host specified by
xenapi_connection_url


Any advice is appreciated.

Best Regards,
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130118/99b49456/attachment.html>


More information about the OpenStack-dev mailing list