Ask Your Question
0

No valid host was found

asked 2014-09-25 06:31:26 -0500

MK gravatar image

updated 2014-09-25 08:23:45 -0500

larsks gravatar image

When I try to launch a instance i got below error.

Could any one help me on this

Fault

Message
   No valid host was found.  Code
   500 Details
   File "/opt/stack/nova/nova/conductor/manager.py",
line 614, in build_instances
request_spec, filter_properties) File
"/opt/stack/nova/nova/scheduler/client/__init__.py",
line 49, in select_destinations
context, request_spec,
filter_properties) File
"/opt/stack/nova/nova/scheduler/client/__init__.py",
line 35, in __run_method return
getattr(self.instance, __name)(*args,
**kwargs) File "/opt/stack/nova/nova/scheduler/client/query.py",
line 34, in select_destinations
context, request_spec,
filter_properties) File
"/opt/stack/nova/nova/scheduler/rpcapi.py",
line 107, in select_destinations
request_spec=request_spec,
filter_properties=filter_properties)
File
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py",
line 152, in call retry=self.retry)
File
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py",
line 90, in _send timeout=timeout,
retry=retry) File
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
line 408, in send retry=retry) File
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
line 399, in _send raise result

Thanks

edit retag flag offensive close merge delete

Comments

"no valid host was found" can mean that (a) your compute nodes are not properly registered with your controller, or (b) that you are trying to start an instances that requirements more resources (e.g., memory, cpu, disk) than are available in your environment...

larsks gravatar imagelarsks ( 2014-09-25 08:25:00 -0500 )edit

What is the output of nova service-list on your system (you must run this command with admin credentials)?

larsks gravatar imagelarsks ( 2014-09-25 08:25:36 -0500 )edit

I've seen such message, when the provisioned instance requires too many resources, that obviously not always available on any of compute nodes.

fgorbat gravatar imagefgorbat ( 2014-09-25 14:16:08 -0500 )edit

when i run nova service-list it lists below nova-conductor, nova-cert,nova-scheduler, nova-consoleauth, nova-compute with status enabled

I am unable to put all data here as comment.

MK gravatar imageMK ( 2014-09-25 23:37:42 -0500 )edit

I have enough resources to launch a instance. I dont think problem with resources

MK gravatar imageMK ( 2014-09-25 23:39:27 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-11 07:55:13 -0500

Radhakrishnan Rk gravatar image

hi, "no valid host was found" is the common error while launching an instance in our openstack cloud..It may occurs due to multiples reasons such as lack of resources in your host(compute node(s)) which provides disk space and memory for your disk flavor to launch an instance..It may occurs due to the nova api is unable to communicate with nova compute node once it is scheduled to a specific host..

By the way,your error message conveys that your instance is scheduled in a host where there is no more resources available on that..so it again communicates with the scheduler to pick an appropriate host..it attempted the same thing until timeout..pls make sure whether you have resource to hold your instance as well as check whether all nova services are running in your controller node..if u deployed a multiple node setup,pls check the status of nova-compute..if it is not running..restart it

thanks, krishnaa

edit flag offensive delete link more

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: 2014-09-25 06:31:26 -0500

Seen: 2,574 times

Last updated: Sep 11 '15