[Openstack] Error: Failed to launch instance "inst": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance ....
Abhishek Shrivastava
abhishek at cloudbyte.com
Mon Jun 22 10:01:16 UTC 2015
According to this, the Instance creation failed because the Neutron was not
able to "create_port_postcommit" so you have to check the why it is
happening, as I have no idea on how Neutron works.
Also can you tell me how many Instances you have created before this error
happened.
On Mon, Jun 22, 2015 at 3:23 PM, Silvia Fichera <fichera.sil at gmail.com>
wrote:
> On the 19th in the morning I've done several trial, after 9.30 a.m. I
> don't remember exactly when.
> The day before (when I've installed it) everything was working fine.
>
> 2015-06-22 11:49 GMT+02:00 Abhishek Shrivastava <abhishek at cloudbyte.com>:
>
>> Hi Silvia,
>>
>> One more thing, can you please tell me the exact time when you have
>> created the Instance.
>>
>> On Mon, Jun 22, 2015 at 3:07 PM, Silvia Fichera <fichera.sil at gmail.com>
>> wrote:
>>
>>> Hi Abhishek,
>>> it seems there are some errors in the log you suggested to check.
>>> I've attached it as a G-drive link because it's too big.
>>>
>>> Thanks
>>>
>>> Silvia
>>> screen-n-cpu.log
>>> <https://drive.google.com/file/d/0ByUj7Zpz-6NFR2NvVnJkOHE2Rm8/edit?usp=drive_web>
>>>
>>>
>>> 2015-06-22 10:49 GMT+02:00 Abhishek Shrivastava <abhishek at cloudbyte.com>
>>> :
>>>
>>>> Hi Silvia,
>>>>
>>>> Look for logs in screen folder and specifically screen-n-cpu.log, or
>>>> you just upload the same file, will tell you accordingly the cause of error.
>>>>
>>>> On Mon, Jun 22, 2015 at 2:15 PM, Jamal Arif <jamala at plumgrid.com>
>>>> wrote:
>>>>
>>>>> Silvia,
>>>>>
>>>>> Sorry about that. I missed that.
>>>>>
>>>>> If you have installed devstack, then you can use the screen sessions
>>>>> for checking the logs. Following is a link which provides the different
>>>>> commands for accessing screen sessions and the short cuts to access it.
>>>>>
>>>>> http://www.rushiagr.com/blog/2013/06/05/linux-screens-in-devstack/
>>>>>
>>>>> Thanks
>>>>> Jamal
>>>>>
>>>>> On Mon, Jun 22, 2015 at 1:20 AM, Silvia Fichera <fichera.sil at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Jamal,
>>>>>> as I already told previously I don't have nor nova nor neutron in
>>>>>> /var/log because I have Installed openstack using devstack.
>>>>>> I will look for errors in /opt/stack/logs and, if I find somthing I
>>>>>> will post it.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> 2015-06-22 10:16 GMT+02:00 Jamal Arif <jamala at plumgrid.com>:
>>>>>>
>>>>>>> You can check in two places.
>>>>>>>
>>>>>>>
>>>>>>> - On Controller:
>>>>>>>
>>>>>>>
>>>>>>> Check for neutron server logs in
>>>>>>> /var/log/neutron/
>>>>>>>
>>>>>>> Check for Nova schedular etc in
>>>>>>> /var/log/nova/
>>>>>>>
>>>>>>>
>>>>>>> - On Compute Hosts:
>>>>>>>
>>>>>>>
>>>>>>> Check for Nova Compute logs in
>>>>>>>
>>>>>>> /var/log/nova/nova-compute.log
>>>>>>>
>>>>>>> There can be multiple reasons for this error starting from nova
>>>>>>> scheduler unable to schedule them to virt-type being different in the
>>>>>>> nova.conf. Please check the logs and share the error logs if you are able
>>>>>>> to find them.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Jamal.
>>>>>>>
>>>>>>> On Mon, Jun 22, 2015 at 12:14 AM, 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
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Thanks & Regards,*
>>>> *Abhishek*
>>>> *Cloudbyte Inc. <http://www.cloudbyte.com>*
>>>>
>>>
>>>
>>>
>>> --
>>> Silvia Fichera
>>>
>>
>>
>>
>> --
>>
>>
>> *Thanks & Regards,*
>> *Abhishek*
>> *Cloudbyte Inc. <http://www.cloudbyte.com>*
>>
>
>
>
> --
> Silvia Fichera
>
--
*Thanks & Regards,*
*Abhishek*
*Cloudbyte Inc. <http://www.cloudbyte.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150622/36995924/attachment.html>
More information about the Openstack
mailing list