Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failed instance launch

I have just installed Queens on ubuntu 16.04, but I get an error state on creating an instance. I did attempt to see if the compute nodes are communicating with the placement api and it looks like they are not. Not sure what to do at this point any help would be appreciated.

ubuntu@radosgw3:~$ sudo nova-status upgrade check Option "enable" from group "cells" is deprecated for removal (Cells v1 is being replaced with Cells v2.). Its value may be silently ignored in the future. +-------------------------------------------------------------------+ | Upgrade Check Results | +-------------------------------------------------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Placement API | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Resource Providers | | Result: Warning | | Details: There are no compute resource providers in the Placement | | service but there are 3 compute nodes in the deployment. | | This means no compute nodes are reporting into the | | Placement service and need to be upgraded and/or fixed. | | See | | https://docs.openstack.org/nova/latest/user/placement.html | | for more details. | +-------------------------------------------------------------------+ | Check: Ironic Flavor Migration | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: API Service Version | | Result: Success | | Details: None | +-------------------------------------------------------------------+

When I attempt to launch and instance I get the following:

Traceback (most recent call last):

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

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

NoValidHost: No valid host was found. 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager Traceback (most recent call last): 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 1120, in schedule_and_build_instances 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager instance_uuids, return_alternates=True) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 717, in _schedule_instances 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager return_alternates=return_alternates) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", li ne 787, in wrapped 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager return func(args, *kwargs) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init __.py", line 53, in select_destinations 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager instance_uuids, return_objects, return_alternates) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init __.py", line 37, in __run_method 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager return getattr(self.instance, __name)(args, *kwargs) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query. py", line 42, in select_destinations 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager instance_uuids, return_objects, return_alternates) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", l ine 158, in select_destinations 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', *msg_args) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py ", line 174, in call 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager retry=self.retry) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py" , line 131, in _send 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager timeout=timeout, retry=retry) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp driver.py", line 559, in send 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager retry=retry) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp driver.py", line 550, in _send 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager raise result 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager Traceback (most recent call last): 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py ", line 226, in inner 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager return func(args, **kwargs) 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 139, in select_destinations 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager raise exception.NoValidHost(reason="") 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager NoValidHost: No valid host was found. 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager 2018-11-18 16:16:41.361 1295752 ERROR nova.conductor.manager 2018-11-18 16:16:41.451 1295752 WARNING oslo_config.cfg [req-bff6d2b1-d44e-4d74-9ca3-cf660854b40d 906c248a3daf47249bb1b1eb87a5e329 ee82194288e34b66b1e17f36e9c38d95 - default default] Option "enable" from group "cells" is deprecated for removal (Cells v1 is bei ng replaced with Cells v2.). Its value may be silently ignored in the future. 2018-11-18 16:16:41.460 1295752 WARNING nova.scheduler.utils [req-bff6d2b1-d44e-4d74-9ca3-cf660854b40d 906c248a3daf47249bb1b1eb87a 5e329 ee82194288e34b66b1e17f36e9c38d95 - default default] Failed to compute_task_build_instances: No valid host was found. Traceback (most recent call last):

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

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

NoValidHost: No valid host was found. : NoValidHost_Remote: No valid host was found. 2018-11-18 16:16:41.463 1295752 WARNING nova.scheduler.utils [req-bff6d2b1-d44e-4d74-9ca3-cf660854b40d 906c248a3daf47249bb1b1eb87a 5e329 ee82194288e34b66b1e17f36e9c38d95 - default default] [instance: d6f60cd8-652f-43b7-abeb-732eb06c4f2f] Setting instance to ERR OR state.: NoValidHost_Remote: No valid host was found.

It looks like things are okay

ubuntu@radosgw3:~$ openstack compute service list --service nova-compute +----+--------------+----------+------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+--------------+----------+------+---------+-------+----------------------------+ | 25 | nova-compute | compute1 | nova | enabled | up | 2018-11-18T21:39:49.000000 | | 31 | nova-compute | compute2 | nova | enabled | up | 2018-11-18T21:39:49.000000 | | 37 | nova-compute | compute3 | nova | enabled | up | 2018-11-18T21:39:45.000000 | +----+--------------+----------+------+---------+-------+----------------------------+

ubuntu@radosgw3:~$ openstack hypervisor list +----+---------------------------+-----------------+-----------+-------+ | ID | Hypervisor Hostname | Hypervisor Type | Host IP | State | +----+---------------------------+-----------------+-----------+-------+ | 7 | compute2.solidsupport.com | QEMU | 10.0.4.82 | up | | 10 | compute3.solidsupport.com | QEMU | 10.0.4.83 | up | | 20 | compute1.solidsupport.com | QEMU | 10.0.4.81 | up | +----+---------------------------+-----------------+-----------+-------+

ubuntu@radosgw3:~$ openstack catalog list +-----------+-----------+--------------------------------------------------------------------+ | Name | Type | Endpoints | +-----------+-----------+--------------------------------------------------------------------+ | placement | placement | RegionOne | | | | admin: http://novcontrol:8778 | | | | RegionOne | | | | public: http://novcontrol:8778 | | | | RegionOne | | | | internal: http://novcontrol:8778 | | | | | | keystone | identity | RegionOne | | | | admin: http://keystone:5000/v3/ | | | | RegionOne | | | | public: http://keystone:5000/v3/ | | | | RegionOne | | | | internal: http://keystone:5000/v3/ | | | | | | cinderv3 | volumev3 | RegionOne | | | | public: http://cinder:8776/v3/ee82194288e34b66b1e17f36e9c38d95 | | | | RegionOne | | | | internal: http://cinder:8776/v3/ee82194288e34b66b1e17f36e9c38d95 | | | | RegionOne | | | | admin: http://cinder:8776/v3/ee82194288e34b66b1e17f36e9c38d95 | | | | | | nova | compute | RegionOne | | | | public: http://novcontrol:8774/v2.1 | | | | RegionOne | | | | admin: http://novcontrol:8774/v2.1 | | | | RegionOne | | | | internal: http://novcontrol:8774/v2.1 | | | | | | glance | image | RegionOne | | | | admin: http://glance:9292 | | | | RegionOne | | | | internal: http://glance:9292 | | | | RegionOne | | | | public: http://glance:9292 | | | | | | neutron | network | RegionOne | | | | internal: http://novcontrol:9696 | | | | RegionOne | | | | public: http://novcontrol:9696 | | | | RegionOne | | | | admin: http://novcontrol:9696 | | | | | | cinderv2 | volumev2 | RegionOne | | | | admin: http://cinder:8776/v2/ee82194288e34b66b1e17f36e9c38d95 | | | | RegionOne | | | | internal: http://cinder:8776/v2/ee82194288e34b66b1e17f36e9c38d95 | | | | RegionOne | | | | public: http://cinder:8776/v2/ee82194288e34b66b1e17f36e9c38d95 | | | | | +-----------+-----------+--------------------------------------------------------------------+