[Openstack] Fail to launch instance due to "No valid host was found" ERROR

Du Jun dj199008 at gmail.com
Mon Nov 3 02:56:32 UTC 2014


Hi all,

When I try to launch an instance using command:

"nova boot --flavor 2 --image 575623a9-fcbe-4925-86c0-0042d2cb9745 test-nova
"

I get the following message:

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


when I look at the log produced by nova-schedule, I can see:


2014-11-03 10:29:11.301 INFO nova.filters
[*req-c811049f-c670-4205-9436-a812a048d2f9
*admin admin] Filter RetryFilter returned 0 hosts

2014-11-03 10:29:11.301 DEBUG nova.scheduler.filter_scheduler
[*req-c811049f-c670-4205-9436-a812a048d2f9
*admin admin] There are 0 hosts available but 1 instances requested to
build. from (pid=17646) select_destinations
/opt/stack/nova/nova/scheduler/filter_scheduler.py:157


It seems that openstack controller can't recognize my host. BTW, my host
has enough resources, such as memory, cpu, disk and so on.


I have no idea now, any help will be appreciated.


--

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141103/2c0d7ad9/attachment.html>


More information about the Openstack mailing list