Ask Your Question
0

Failed to Launch VM

asked 2015-03-16 12:41:45 -0500

Rabiul gravatar image

updated 2015-03-17 02:50:28 -0500

I got the following error message when try to launch VM.

Error: Failed to launch instance "TEST01": Please try again later [Error: No valid host was found. ]. Here is the error log.

Fault

Message No valid host was found. Code 500 Details

File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 616, in build_instances request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 35, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 108, in select_destinations request_spec=request_spec, filter_properties=filter_properties) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send raise result
Created
March 16, 2015, 10:32 p.m.
edit retag flag offensive close merge delete

Comments

You'll need to provide more details if you want to get meaningful help. Edit your question.

smaffulli gravatar imagesmaffulli ( 2015-03-16 13:18:13 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-19 07:54:49 -0500

Check if the nova nodes are fine using 'nova service-list' or 'nova-manage service list'. It should be fine. If it is not you may need to check your messaging servers and can also get more info from the compute logs. Just restart the nova-compute service in compute node and in parallel look for errors in /var/log/nova/nova-compute.log.

edit flag offensive delete link more

Comments

Here is the new error message. Error: Failed to launch instance "SWE": Please try again later [Error: Timed out waiting for a reply to message ID 6522e4821fe44c5aaba7d934d05ae18b].

Rabiul gravatar imageRabiul ( 2015-03-19 18:13:18 -0500 )edit
0

answered 2015-03-17 03:07:58 -0500

This error used to be an error in message queue, can't reach host IP(firewall deny connections), problems with nova-compute service and the host is overloaded, who means that the scheduler can't find a valid host where run the instance.

edit flag offensive delete link more

Comments

Thanks. There is no firewall. This is the only VM I am trying to instantiate.

Rabiul gravatar imageRabiul ( 2015-03-18 10:28:26 -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-03-16 12:41:45 -0500

Seen: 866 times

Last updated: Mar 19 '15