<div dir="ltr"><div>Mate,<br><br></div>In this test environment I have only 1 compute node with only 1 instance of XCP running. What other hypervisor could <a href="https://127.0.0.1">https://127.0.0.1</a> refer to? Any more ideas?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 18, 2013 at 8:40 PM, Mate Lakat <span dir="ltr"><<a href="mailto:mate.lakat@citrix.com" target="_blank">mate.lakat@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matthew,<br>
<br>
I looked into the code, and this exception happens, when the compute VM<br>
is not running on the same hypervisor to which the url points to. Let me<br>
know if it helped.<br>
<br>
Mate<br>
<div><div class="h5"><br>
On Fri, Jan 18, 2013 at 04:13:54PM +0000, Matthew Mosesohn wrote:<br>
> Hi all,<br>
><br>
> I was wondering if any of you have run into issues with using Xenapi/XCP on Folsom with Ubuntu Precise.<br>
><br>
> I'm encountering issues with getting nova-compute to talk to xenapi correctly.  It's not rejecting the request, but giving a strange error.<br>
><br>
> Here is my nova.conf on compute node:<br>
> sql_connection=mysql://<a href="http://USER:PASS@10.0.0.101/nova" target="_blank">USER:PASS@10.0.0.101/nova</a><br>
> network_manager=nova.network.manager.FlatManager<br>
> image_service=nova.image.glance.GlanceImageService<br>
> flat_network_bridge=xenbr0<br>
> compute_driver=xenapi.XenAPIDriver<br>
> xenapi_connection_url=<a href="https://127.0.0.1" target="_blank">https://127.0.0.1</a><br>
> xenapi_connection_username=root<br>
> xenapi_connection_password=PASS<br>
> rescue_timeout=86400<br>
> xenapi_inject_image=false<br>
><br>
><br>
> Here is the error I'm seeing from nova-compute.log:<br>
><br>
> 2013-01-17 06:33:54 AUDIT nova.service [-] Starting compute node (version 2012.2-LOCALBRANCH:L<br>
><br>
> OCALREVISION)<br>
><br>
> Traceback (most recent call last):<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 97, in wait<br>
><br>
>     readers.get(fileno, noop).cb(fileno)<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main<br>
><br>
>     result = function(*args, **kwargs)<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 132, in run_server<br>
><br>
>     server.start()<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start<br>
><br>
>     self.manager.init_host()<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 272, in init_host<br>
><br>
>     self.driver.init_host(host=self.host)<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 164, in init_host<br>
><br>
>     vm_utils.ensure_correct_host(self._session)<br>
><br>
>   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 2162, in ensure_c<br>
><br>
> orrect_host<br>
><br>
>     raise Exception(_('This domU must be running on the host '<br>
><br>
><br>
> Exception: This domU must be running on the host specified by xenapi_connection_url<br>
><br>
> Any advice is appreciated.<br>
><br>
> Best Regards,<br>
> Matthew<br>
<br>
</div></div>> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Mate Lakat<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br></div>