<div dir="ltr"><div>Hi,<br><br>Maybe you can try to use qemu instead of kvm in your nova's config.<br><br></div><div>If it doesn't work, plz paste config file and detailed information on a paste like <a href="http://paste.openstack.org/">http://paste.openstack.org/</a><br><br></div><div>Hope helps,<br></div><div>Damon Wang<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-03 10:56 GMT+08:00 Du Jun <span dir="ltr"><<a href="mailto:dj199008@gmail.com" target="_blank">dj199008@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>When I try to launch an instance using command:</div><div><br></div><div><font color="#ff0000">"<span style="font-family:Menlo;font-size:11px">nova boot </span></font><span style="font-family:Menlo;font-size:11px"><font color="#ff0000">--flavor 2 --image 575623a9-fcbe-4925-86c0-0042d2cb9745 test-nova</font></span><span style="color:rgb(255,0,0)">"</span></div><div><div><br></div><div>I get the following message:</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#ff0000">fault | {"message": "No valid host was found. There are not enough hosts available.", "code": 500, "details": " File \"/opt/stack/nova/nova/conductor/manager.py\", line 614, in build_instances</font></p><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#ff0000"><br></font></p><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#000000">when I look at the log produced by nova-schedule, I can see:</font></p><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#000000"><br></font></p><p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,187,199)"><span style="color:rgb(0,0,0)">2014-11-03 10:29:11.301 </span>INFO nova.filters [<b>req-c811049f-c670-4205-9436-a812a048d2f9 </b>admin admin] Filter RetryFilter returned 0 hosts</p><p style="margin:0px;font-size:11px;font-family:Menlo">
</p><p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><span style="color:rgb(0,0,0)">2014-11-03 10:29:11.301 </span>DEBUG nova.scheduler.filter_scheduler [<span style="color:rgb(52,187,199)"><b>req-c811049f-c670-4205-9436-a812a048d2f9 </b>admin admin</span>] There are 0 hosts available but 1 instances requested to build.<span style="color:rgb(0,0,0)"> </span><span style="color:rgb(175,173,36)">from (pid=17646) select_destinations /opt/stack/nova/nova/scheduler/filter_scheduler.py:157</span></p><p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><span style="color:rgb(175,173,36)"><br></span></p><p style="margin:0px"><font color="#000000"><span style="font-family:Menlo;font-size:11px">It seems that openstack controller can't recognize my host. BTW, my host has </span><font face="Menlo"><span style="font-size:11px">enough resources, such as memory, cpu, disk and so on.</span></font></font></p><p style="margin:0px"><font color="#afad24" face="Menlo"><span style="font-size:11px"><br></span></font></p><p style="margin:0px"><font color="#000000" face="Menlo"><span style="font-size:11px">I have no idea now, any help will be appreciated.</span></font></p><p style="margin:0px"><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></p><p style="margin:0px"><font color="#000000" face="Menlo"><span style="font-size:11px">--</span></font></p><p style="margin:0px"><font color="#000000" face="Menlo"><span style="font-size:11px">Frank</span></font></p></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>