Ask Your Question
0

Problem with ironic instance boot:NoValidHost: No valid host was found.

asked 2017-10-24 20:06:42 -0500

diegoinsh gravatar image

2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager [req-cf7c1fb6-9131-462c-b056-203b81d51986 - - - - -] Failed to schedule instances 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager Traceback (most recent call last): 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 866, in schedule_and_build_instances 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager request_specs[0].to_legacy_filter_properties_dict()) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 597, in _schedule_instances 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager hosts = self.scheduler_client.select_destinations(context, spec_obj) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 371, in wrapped 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager return func(args, *kwargs) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager return self.queryclient.select_destinations(context, spec_obj) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager return getattr(self.instance, __name)(args, *kwargs) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 32, in select_destinations 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager return self.scheduler_rpcapi.select_destinations(context, spec_obj) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 129, in select_destinations 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', *msg_args) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager retry=self.retry) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager timeout=timeout, retry=retry) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager retry=retry) 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 449, in _send 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager raise result 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. There are not enough hosts available. 2017-10-25 08:53:42.192 82844 ERROR nova.conductor.manager Traceback (most recent call last): 2017-10-25 08:53:42.192 82844 ERROR nova ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-25 05:28:37 -0500

This simply means that no host was found to run your instance. The flavor of your baremetal instance must correspond to a baremetal node that is currently available. If no such node is available, this is the error you get.

I am not sure which log files contain useful information. I would check the nova-scheduler file, which shows the filters that were applied and that reduced the node count to 0. You probably have to enable DEBUG logging for the nova scheduler. The nova compute log on the baremetal host may also contain useful information, and perhaps the ironic conductor log.

edit flag offensive delete link more

Comments

thanks a lot for reply, I have went through some config file, and work this out. but come's another odd problem now, will put another post.

diegoinsh gravatar imagediegoinsh ( 2017-10-25 23:18:27 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-10-24 20:06:42 -0500

Seen: 340 times

Last updated: Oct 25 '17