[Openstack] Fail to launch instance due to "No valid host was found", ERROR (Du Jun)

Richard Raseley richard at raseley.com
Mon Nov 3 18:00:58 UTC 2014


Frank,

Can you please provide the output of:

nova host-list

As well as link to a paste bin of relevant /var/log/nova/*.log files 
from both the nova controller, scheduler, as well as any hypervisors? 
This will give us a good starting point.

Regards,

Richard

openstack-request at lists.openstack.org wrote:
>
> 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
>




More information about the Openstack mailing list