I have tried many times to launch instances, but it keeps failing due to the fault error, saying no valid host was found. Keep following the tutorial on youtube, but it didn't work.
Message No valid host was found.
Code 500
Details Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 1512, in schedule_and_build_instances
instance_uuids, return_alternates=True)
File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 884, in _schedule_instances
return_alternates=return_alternates)
File "/usr/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations
instance_uuids, return_objects, return_alternates)
File "/usr/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations
return cctxt.call(ctxt, 'select_destinations', **msg_args)
File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 179, in call
transport_options=self.transport_options)
File "/usr/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send
transport_options=transport_options)
File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 682, in send
transport_options=transport_options)
File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 672, in _send
raise result
nova.exception_Remote.NoValidHost_Remote: No valid host was found.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 200, in select_destinations
raise exception.NoValidHost(reason="")