<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I was wondering if any of you have run into issues with using Xenapi/XCP on Folsom with Ubuntu Precise.<br><br></div>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=<a rel="nofollow">mysql://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" class="" rel="nofollow">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></div>Here is the error I'm seeing from nova-compute.log:<br><pre>2013-01-17 06:33:54 AUDIT nova.service [-] Starting compute node (version 2012.2-LOCALBRANCH:L</pre>
<pre>OCALREVISION)</pre><pre>Traceback (most recent call last):</pre><pre> File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 97, in wait</pre><pre> readers.get(fileno, noop).cb(fileno)</pre>
<pre> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main</pre><pre> result = function(*args, **kwargs) </pre><pre> File "/usr/lib/python2.7/dist-packages/nova/service.py", line 132, in run_server</pre>
<pre> server.start()</pre><pre> File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start</pre><pre> self.manager.init_host()</pre><pre> File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 272, in init_host</pre>
<pre> self.driver.init_host(host=self.host)</pre><pre> File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 164, in init_host</pre><pre> vm_utils.ensure_correct_host(self._session)</pre>
<pre> File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 2162, in ensure_c</pre><pre>orrect_host</pre><pre> raise Exception(_('This domU must be running on the host '</pre><pre>
Exception: This domU must be running on the host specified by xenapi_connection_url</pre><br></div>Any advice is appreciated.<br><br></div>Best Regards,<br>Matthew<br></div>