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

Matthew Mosesohn mmosesohn at mirantis.com
Fri Jan 18 16:56:04 UTC 2013


Mate,

In this test environment I have only 1 compute node with only 1 instance of
XCP running. What other hypervisor could https://127.0.0.1 refer to? Any
more ideas?


On Fri, Jan 18, 2013 at 8:40 PM, Mate Lakat <mate.lakat at citrix.com> wrote:

> Hi Matthew,
>
> I looked into the code, and this exception happens, when the compute VM
> is not running on the same hypervisor to which the url points to. Let me
> know if it helped.
>
> Mate
>
> On Fri, Jan 18, 2013 at 04:13:54PM +0000, Matthew Mosesohn wrote:
> > 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
>
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> --
> Mate Lakat
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130118/4e100c96/attachment.html>


More information about the OpenStack-dev mailing list