Baremetal provisioning makes nova a NoValidHost [closed]

asked 2020-06-15 20:01:08 -0500

soga gravatar image

I built a train version of openstack.
I have successfully moved to the available status with ironic until cleaning the baremetal nodes.
However, when I try to start the instance on the dashboard, I get a message "No valid host was found" in the nova-conductor log and it fails.

2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager [req-5aa40879-c067-432e-99c7-b05b42552069 982d08ad748041938a9bab2631625fda c6aa695be12d4125925ac678ca1a0a85 - default default] Failed to schedule instances: NoValidHost_Remote: No valid host was found. 
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 235, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 199, in select_destinations
     raise exception.NoValidHost(reason="")

NoValidHost: No valid host was found.
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager Traceback (most recent call last):
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site- 
packages/nova/conductor/manager.py", line 1360, in schedule_and_build_instances
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     instance_uuids, return_alternates=True)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 839, in _schedule_instances
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     return_alternates=return_alternates)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site- 
packages/nova/scheduler/client/query.py", line 42, in select_destinations
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     return cctxt.call(ctxt, 'select_destinations', **msg_args)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 181, in call
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     transport_options=self.transport_options)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 129, in _send
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     transport_options=transport_options)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 646, in send
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     transport_options=transport_options)
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 636, in _send
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager     raise result
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. 
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager Traceback (most recent call last):
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager 
2020-06-16 09:40:29.602 32431 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 235, in inner
2020-06-16 09 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by soga
close date 2020-06-16 20:44:08.154041