[Openstack] Error: Failed to launch instance "inst": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance ....

Salvatore Orlando sorlando at nicira.com
Fri Jun 19 14:23:01 UTC 2015


I would check for errors in the nova compute logs.

In some cases I had the same error, but the actual root cause was that the
nova compute log was failing to setup networking for an instance. The
request went back to the scheduler, which selected another compute node,
but failed in the same way while setting up networking, and so on until
failure.

Salvatore

On 19 June 2015 at 14:50, Silvia Fichera <fichera.sil at gmail.com> wrote:

> Hi all, I have 4 VMs in a server, managed by ESXi. One of these perform as
> OVS, one is the Openstack controller and the other two are the compute
> hosts. Yesterday I set up Openstack via devstack with Opendaylight
> integration for VTN. There was some issue in the VTN configuration but I
> was able to create the instances. This morning I tryed again to launch the
> instances before facing the other problems and there was this error:
>
> Error: Failed to launch instance "inst": Please try again later [Error: No
> valid host was found. Exceeded max scheduling attempts 3 for instance
> a12ab017-396a-46d0-9749-011b829c6273. Last exception: [u'Traceback (most
> recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py",
> line 2081, in _do_build_and_run_in].
>
> My VMs have the maximun availability of memory and CPU (the same as
> yesterday). I tryed with a tiny flavour but there is the same error. When I
> do: nova-manage service list in my controller node I have this output:
>
> Binary Host Zone Status State Updated_At
>
> nova-conductor devstack1 internal enabled :-) 2015-06-19 12:45:16
>
> nova-compute devstack1 nova enabled :-) 2015-06-19 12:45:08
>
> nova-cert devstack1 internal enabled :-) 2015-06-19 12:45:10
>
> nova-scheduler devstack1 internal enabled :-) 2015-06-19 12:45:10
>
> nova-consoleauth devstack1 internal enabled :-) 2015-06-19 12:45:14
>
> nova-compute devstack2 nova enabled :-) 2015-06-19 12:45:10
>
> nova-compute devstack3 nova enabled :-) 2015-06-19 12:45:11
>
> (all smiling!!)
>
> I have also read to check the file /var/log/nova/nova.log (if I'm not
> wrong), but I can't find the directory nova inside /var/log
>
> Thank you
>
> --
> Silvia Fichera
>
> _______________________________________________
> 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/20150619/d54794f7/attachment.html>


More information about the Openstack mailing list