<div dir="ltr">Hi all,<div><br></div><div>    I've managed to install OpenStack (Version 2012.1.1-18) on top of a XenServer installation. Instances are created fine, but it takes really long for Openstack to realize that the instance is up and running. In the nova-compute.log I see the following messages:</div>

<div><br></div><div><div><font face="courier new, monospace">2013-05-09 05:19:47 DEBUG nova.virt.xenapi_conn [-] Got exception: ['XENAPI_PLUGIN_FAILURE', 'version', 'PluginError', 'TIMEOUT: No response from agent within 30 seconds.'] from (pid=3047) _unwrap_plugin_exceptions /usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py:612</font></div>

<div><font face="courier new, monospace">2013-05-09 05:19:47 ERROR nova.virt.xenapi.vmops [req-80868dbf-a0ec-4e5c-ba1c-40073407a69e e2d41ace30d1492ebb24edfbf30b9089 136c4d2c8f3e4c74a0a4a4ef0e45a901] TIMEOUT: The call to version timed out. VM id=a1978a21-7598-4d5e-984b-a9ca858f7237; args={'path': '', 'dom_id': '4', 'id': '957d7359-1632-4b38-bf19-8bfd0d45aca5', 'host_uuid': 'c38359bb-7a82-ac2b-0ee6-4a6dd68c5285'}</font></div>

<div><font face="courier new, monospace">2013-05-09 05:19:47 ERROR nova.virt.xenapi.vmops [req-80868dbf-a0ec-4e5c-ba1c-40073407a69e e2d41ace30d1492ebb24edfbf30b9089 136c4d2c8f3e4c74a0a4a4ef0e45a901] Failed to query agent version: {'message': 'TIMEOUT: No response from agent within 30 seconds.', 'returncode': 'timeout'}</font></div>

<div><br></div><div style>These three messages are repeated 5 times, until I get these messages:</div><div style><br></div><div style><div><font face="courier new, monospace">2013-05-09 05:24:20 DEBUG nova.compute.manager [req-80868dbf-a0ec-4e5c-ba1c-40073407a69e e2d41ace30d1492ebb24edfbf30b9089 136c4d2c8f3e4c74a0a4a4ef0e45a901] [instance: a1978a21-7598-4d5e-984b-a9ca858f7237] Checking state from (pid=3047) _get_power_state /usr/lib/python2.7/dist-packages/nova/compute/manager.py:272</font></div>

<div><font face="courier new, monospace">2013-05-09 05:24:20 INFO nova.virt.xenapi.vm_utils [req-80868dbf-a0ec-4e5c-ba1c-40073407a69e e2d41ace30d1492ebb24edfbf30b9089 136c4d2c8f3e4c74a0a4a4ef0e45a901] (VM_UTILS) xenserver vm state -> |Running|</font></div>

<div><font face="courier new, monospace">2013-05-09 05:24:20 INFO nova.virt.xenapi.vm_utils [req-80868dbf-a0ec-4e5c-ba1c-40073407a69e e2d41ace30d1492ebb24edfbf30b9089 136c4d2c8f3e4c74a0a4a4ef0e45a901] (VM_UTILS) xenapi power_state -> |1|</font></div>

<div><br></div><div style>And then the dashboard properly shows the instance as running. But the instance was up and running long ago. The instace takes about 30 seconds until command prompt, but OpenStack waits about 4 minutes to mark it as 'Running'.</div>

<div style><br></div><div style>Is there any way to fix this?</div><div style><br></div><div style>Thanks in advance.</div><div style><br></div><div style>Regards,</div><div style>Gonzalo Alvarez.</div></div><div><font face="'courier new', monospace"><div>

<span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div style="font-family:'courier new',monospace"><font face="'courier new', monospace">---</font></div><div style="font-family:'courier new',monospace;font-weight:bold">

<b><font face="'courier new', monospace"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;font-weight:normal"><strong><span style="font-family:georgia,palatino"><a title="www.GonzaloAlvarez.es" href="http://www.gonzaloalvarez.es/" style="color:black;font-size:14pt;font-family:georgia,palatino;text-decoration:none" target="_blank">GonzaloAlvarez.es</a></span></strong></span></font></b></div>

<div style="font-family:'courier new',monospace;font-weight:bold"><span style="font-family:arial;font-size:x-small;font-weight:normal">Ponzano 80, 6º 6 - 28003 - Madrid</span></div><div><font size="1"><a href="mailto:gonzaloab@gmail.com" style="color:rgb(64,100,128)" target="_blank">Mail</a> | <a href="https://www.facebook.com/gonzalo.alvarez" style="color:rgb(64,100,128)" target="_blank">Facebook</a> | <a href="http://www.linkedin.com/in/gonzaloab" style="color:rgb(64,100,128)" target="_blank">Linkedin</a></font></div>

<div><div><div><font size="1">Tel: +34 678 252 458</font></div></div></div></span></div></font></div>
</div></div>