Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failed to launch instance Error: No valid host was found.

I just deployed openstack pike using kolla. Now I am using the dashboard to launch an instance using a snapshot I migrated over from my other openstack environment. I keep getting errors about it having no valid host. Since everything is running in container how do I view logs for this so I can track down the error?

Below is my full output about the fault it encountered:

Message No valid host was found.
Code 500
Details
File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 937, in schedule_and_build_instances instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 625, in _schedule_instances request_spec, instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/utils.py", line 505, in wrapped return func(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 52, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 33, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 137, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call retry=self.retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/transport.py", line 123, in _send timeout=timeout, retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send raise result

Please help me find a way to view the logs of services. How can I fix this? Where should I start?

Failed to launch instance Error: No valid host was found.

I just deployed openstack pike using kolla. I have a control node and compute node. Now I am using the dashboard to launch an instance using a snapshot I migrated over from my other openstack environment. I keep getting errors about it having no valid host. Since everything is running in container containers how do I view logs for this so I can track down the error?

Below is my full output about the fault it encountered:

Message No valid host was found.
Code 500
Details
File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 937, in schedule_and_build_instances instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 625, in _schedule_instances request_spec, instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/utils.py", line 505, in wrapped return func(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 52, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 33, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 137, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call retry=self.retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/transport.py", line 123, in _send timeout=timeout, retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send raise result

Please help me find a way to view the logs of services. How can I fix this? Where should I start?

Failed to launch instance Error: No valid host was found.

I just deployed openstack pike using kolla. I have a control node and compute node. Now I am using the dashboard to launch an instance using a snapshot I migrated over from my other openstack environment. I keep getting errors about it having no valid host. Since everything is running in containers how do I view logs for this so I can track down the error?

Below is my full output about the fault it encountered:

Message No valid host was found.
Code 500
Details
File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 937, in schedule_and_build_instances instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/manager.py", line 625, in _schedule_instances request_spec, instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/utils.py", line 505, in wrapped return func(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 52, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 33, in select_destinations instance_uuids) File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 137, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call retry=self.retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/transport.py", line 123, in _send timeout=timeout, retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send retry=retry) File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send raise result

Please help me find a way to view the logs of services. How can I fix this? Where should I start?

Below is an error from the nova-conductor.logs:

NoValidHost: No valid host was found.
2017-10-31 13:38:12.836 23 WARNING nova.scheduler.utils [req-655ab333-5d26-496d-90c1-88fc764252f8 59eb68d3e79b47aba8ec3835b9123dc0 7e1d755f1fba495288be01de4d7296af - default default] [instance: f5f18c8c-5d16-481b-995e-87b41f4390d2] Setting instance to ERROR state.: NoValidHost_Remote: No valid host was found.
Traceback (most recent call last):

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

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

NoValidHost: No valid host was found.