<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>how much free ram left on your compute node?<br></div><div><br><div><br></div><font color="#990099">-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net wrote: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">To: Flavia Missi <a class="moz-txt-link-rfc2396E" href="mailto:flaviamissi@gmail.com"><flaviamissi@gmail.com></a><br>From: Rogerio Goncalves <a class="moz-txt-link-rfc2396E" href="mailto:rogerlz@gmail.com"><rogerlz@gmail.com></a><br>Sent by: <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a><br>Date: 04/28/2012 04:43AM<br>Cc: <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Subject: Re: [Openstack] Error in scheduler when create a new instance.<br><br><font color="#333399"><font><font face="courier new,monospace">Flavia, </font></font></font><div><font color="#333399"><font><font face="courier new,monospace"><br></font></font></font></div><div><font color="#333399"><font><font face="courier new,monospace">Thanks, but does not help.</font></font></font></div>
<div><font color="#333399"><font><font face="courier new,monospace">Get the same error. </font></font></font></div><div><font color="#333399"><font><font face="courier new,monospace"><br></font></font></font></div><div><font color="#333399"><font><font face="courier new,monospace"><div>
2012-04-27 17:41:39 WARNING nova.scheduler.manager [req-efb95a01-15f0-4ae7-9f7f-0ec71ff4d12a e53ddc6542c84f0791fd5ff8968162d7 c65c92296bf841c992c895074da03316] Failed to schedule_run_instance: No valid host was found. Is the appropriate service running?</div>
<div><br></div><div>2012-04-27 17:41:39 WARNING nova.scheduler.manager [req-efb95a01-15f0-4ae7-9f7f-0ec71ff4d12a e53ddc6542c84f0791fd5ff8968162d7 c65c92296bf841c992c895074da03316] Setting instance 01a15b65-7807-42b4-95a2-66d64d12f906 to ERROR state.</div>
<div><br></div></font></font></font><div>root@ubuntu0001:/var/log/nova# nova-manage service list</div><div>Binary Host Zone Status State Updated_At</div><div>nova-scheduler ubuntu0001 nova enabled :-) 2012-04-27 20:42:57</div>
<div>nova-compute ubuntu0001 nova enabled XXX None </div><div>nova-volume ubuntu0001 nova enabled :-) 2012-04-27 20:42:52</div>
<div>nova-network ubuntu0001 nova enabled :-) 2012-04-27 20:42:52</div><div><br></div><br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 5:02 PM, Flavia Missi <span dir="ltr"><<a href="mailto:flaviamissi@gmail.com" target="_blank">flaviamissi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div class="gmail_extra">Rogerio, I had this problem and solved it by setting the following flag:</div><div class="gmail_extra">
<br>scheduler_default_filters=AllHostsFilter<p></p><p>Hope it helps.</p><p>[]'s</p></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 12:29 PM, Rogerio Goncalves <span dir="ltr"><<a href="mailto:rogerlz@gmail.com" target="_blank">rogerlz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><font><font>is enabled and not running</font></font><div><font><font>my compute node is virtual machine to test and configured with qemu (2 core, 4gb, 10gb free in nova-volumes)</font></font></div>
<div><font><font><br></font></font></div>
<div>
<br>my last log message on nova-compute is: <p></p><p>2012-04-27 12:22:25 DEBUG nova.virt.libvirt.connection [-] Connecting to libvirt: qemu:///system from (pid=18588) _get_connection /usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.<span><b>py</b></span>:292</p>
<div>libvirt is running</div><div><br></div><div>18420 ? Sl 0:00 /usr/sbin/libvirtd -d</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 10:43 PM, heut2008 <span dir="ltr"><<a href="mailto:heut2008@gmail.com" target="_blank">heut2008@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
be sure nova-compute is running and is enabled by using nova-manage<br>
service list,also confirm that the compute node have enough<br>
resources(cpu,mem,disk) .<br><br>
2012/4/27 Rogerio Goncalves <<a href="mailto:rogerlz@gmail.com" target="_blank">rogerlz@gmail.com</a>>:<br>
<div><div>> Hello,<br>
><br>
> Im getting this error when launching a new instance.<br>
><br>
> "Failed to schedule_run_instance: No valid host was found. Is the<br>
> appropriate service running?"<br>
><br>
> <a href="http://paste.openstack.org/show/14020/" target="_blank">http://paste.openstack.org/show/14020/</a><br>
><br>
> SO Ubuntu 12.04<br>
><br>
> libvirt-bin start/running, process 4153<br>
> nova-network start/running, process 4174<br>
> nova-compute start/running, process 4187<br>
> nova-api start/running, process 4198<br>
> nova-objectstore start/running, process 4210<br>
> nova-scheduler start/running, process 4222<br>
> nova-volume start/running, process 4235<br>
> nova-vncproxy start/running, process 4246<br>
><br>
> rabbitmq is up too<br>
><br>
><br>
> Thanks<br>
><br>
> Rogério Gonçalves<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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></div></div></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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></div></div><span class="HOEnZb"><font color="#888888">-- <br>Flávia Missi<div><a href="http://twitter.com/flaviamissi" target="_blank">@flaviamissi</a><br><div><a href="http://flaviamissi.com.br" target="_blank">flaviamissi.com.br</a></div>
<div><a href="https://github.com/flaviamissi" target="_blank">https://github.com/flaviamissi</a></div></div><br>
</font></span></div>
</blockquote></div><br></div></div>
<font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></font><br></blockquote><br></div></font>
<br/>