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

David S. david at zeromail.us
Mon Nov 3 04:36:17 UTC 2014


Hi,

Please check you storage backend, is that available to create an instance?



Best regards,
David S.
------------------------------------------------
e. david at zeromail.us
w. http://blog.pnyet.web.id

On Mon, Nov 3, 2014 at 10:34 AM, Damon Wang <damon.devops at gmail.com> wrote:

> Hi,
>
> Maybe you can try to use qemu instead of kvm in your nova's config.
>
> If it doesn't work, plz paste config file and detailed information on a
> paste like http://paste.openstack.org/
>
> Hope helps,
> Damon Wang
>
> 2014-11-03 10:56 GMT+08:00 Du Jun <dj199008 at gmail.com>:
>
>> 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
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141103/4791f3e4/attachment.html>


More information about the Openstack mailing list