<font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)">Hi nico,</font><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)">This may be related to another thread currently on the ML about multi-node devstack. </font></div>
<div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)">There seems to be a bug in multi-node devstack that if you do not specify "rabbit" as one of the enabled services on each compute node, the nova-compute on the compute node tries to contact the rabbit server on localhost, rather than on the IP specified by <span style="line-height:18px;white-space:pre-wrap">RABBIT_HOST. </span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:18px;white-space:pre-wrap;background-color:rgb(255,255,255)"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:18px;white-space:pre-wrap;background-color:rgb(255,255,255)">If the compute nodes are not correctly connecting to rabbit, I believe the scheduler would not be able to notify those servers to create VMs, which *may* explain why your instances are getting stuck in scheduling. Looking at the nova-compute log on your compute hosts could probably help determine if this is the issue, as there would be errors due to the failure to connect to rabbit. Putting "rabbit" in the set of ENABLED_SERVICES on all nodes seems to have worked for me as a work around.</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:18px;white-space:pre-wrap;background-color:rgb(255,255,255)"><br></span></font></div><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)">I posted a question to the devstack team about this: <a href="https://answers.launchpad.net/devstack/+question/197749">https://answers.launchpad.net/devstack/+question/197749</a></font></div>
<div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)">Dan</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div>On Wed, May 23, 2012 at 11:05 AM, Nicolae Paladi <span dir="ltr"><<a href="mailto:n.paladi@gmail.com" target="_blank">n.paladi@gmail.com</a>></span> wrote:<font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:12px;line-height:18px;white-space:pre-wrap"><br>
</span></font><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi, a very similar question has been asked in <a href="https://lists.launchpad.net/openstack/msg10125.html" target="_blank">https://lists.launchpad.net/openstack/msg10125.html</a>, </div>
<div>however I could not find a follow-up.</div>
<div><br></div><div>I have followed the instructions for <a href="http://devstack.org/guides/multinode-lab.html" target="_blank">http://devstack.org/guides/multinode-lab.html</a>, </div><div>however I am running Ubuntu 12.04 on both hosts.</div>
<div><br></div><div>There are 2 issues:</div><div><br></div><div>1. The 'services' panel in the dashboard only displays the services running on</div><div>the controller, while nova-manage service list on both hosts displays:</div>
<div><br></div><div><div>nova-compute duff nova enabled :-) 2012-05-23 18:01:14</div><div>nova-cert duff nova enabled :-) 2012-05-23 18:01:18</div>
<div>nova-volume duff nova enabled :-) 2012-05-23 18:01:24</div><div>nova-scheduler duff nova enabled :-) 2012-05-23 18:01:18</div>
<div>nova-consoleauth duff nova enabled :-) 2012-05-23 18:01:19</div><div>nova-network duff nova enabled :-) 2012-05-23 18:01:16</div>
<div>nova-compute cirrus nova enabled :-) 2012-05-23 18:01:17</div><div>nova-volume cirrus nova enabled :-) 2012-05-23 18:01:16</div>
<div>nova-network cirrus nova enabled :-) 2012-05-23 18:01:18</div></div><div><br></div><div><br></div><div>2. Once an instance is launched, it remains in the "scheduling" state with no progress.</div>
<div><br></div><div>The logs look fine, no errors there.</div><div><br></div><div>Thanks!</div><div>/nico</div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</div>