[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
Mon Jun 22 08:11:20 UTC 2015


Nova has different log files, one for the scheduler, one for the conductor,
one for the api-server, and one for the compute agent. If you don't see
anything at all regarding openstack in /var/log, is there a chance you've
enabled syslog logging?

If you're running from devstack, you might have logs in
/opt/stack/screen-logs (or another directory if you specified a different
one in localrc).
Note: if you've enabled syslog for devstack you will have to look into
syslog.

I should have mentioned this thing about logs in my previous post! sorry
about that, I realise my reply sounded quite dumb and irritating.

Salvatore




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

> Good morning.
> As I told I can't find the folder /var/log/nova.
> So which log should I check?
> Thanks
>
> 2015-06-19 16:23 GMT+02:00 Salvatore Orlando <sorlando at nicira.com>:
>
>> 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
>>>
>>>
>>
>
>
> --
> Silvia Fichera
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150622/b7873ee8/attachment.html>


More information about the Openstack mailing list