Ask Your Question
1

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

asked 2015-06-19 07:50:22 -0500

Silvia gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-19 12:31:06 -0500

yaolin gravatar image

Do you have nova-compute running in your compute nodes? If not, just start that service.

edit flag offensive delete link more

Comments

Hi Yaolin. Yes, nova compute is running in my compute nodes.

Silvia gravatar imageSilvia ( 2015-06-22 02:17:39 -0500 )edit

I noticed that thia happen when I restart the ODL controller.

Silvia gravatar imageSilvia ( 2015-06-26 04:45:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-19 07:50:22 -0500

Seen: 1,329 times

Last updated: Jun 19 '15