There are one compute host with `ironic` not `libvirt`, get error when executing the testcase `tempest.scenario.test_server_multinode.TestServerMultinode.test_schedule_to_all_nodes`.
The log:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tempest/common/utils/__init__.py", line 89, in wrapper
return f(*func_args, **func_kwargs)
File "/usr/local/lib/python3.8/dist-packages/tempest/scenario/test_server_multinode.py", line 69, in test_schedule_to_all_nodes
inst = self.create_server(
File "/usr/local/lib/python3.8/dist-packages/tempest/scenario/manager.py", line 294, in create_server
body, _ = compute.create_test_server(
File "/usr/local/lib/python3.8/dist-packages/tempest/common/compute.py", line 270, in create_test_server
LOG.exception('Server %s failed to delete in time',
File "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
self.force_reraise()
File "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
raise self.value
File "/usr/local/lib/python3.8/dist-packages/tempest/common/compute.py", line 241, in create_test_server
waiters.wait_for_server_status(
File "/usr/local/lib/python3.8/dist-packages/tempest/common/waiters.py", line 75, in wait_for_server_status
raise exceptions.BuildErrorException(body['fault'],
tempest.exceptions.BuildErrorException: Server af29f0fa-2e56-406e-9683-1656d1e6fd9c failed to build and is in ERROR status
Details: {'code': 500, 'created': '2021-12-02T03:51:12Z', 'message': 'No valid host was found. No such host - host: mgt06 node: None ', 'details': 'Traceback (most recent call last):\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/conductor/manager.py", line 1516, in schedule_and_build_instances\n host_lists = self._schedule_instances(context, request_specs[0],\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/conductor/manager.py", line 887, in _schedule_instances\n host_lists = self.query_client.select_destinations(\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/scheduler/client/query.py", line 41, in select_destinations\n return self.scheduler_rpcapi.select_destinations(context, spec_obj,\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/openstack/lib/python3.8/site-packages/oslo_messaging/rpc/client.py", line 175, in call\n self.transport._send(self.target, msg_ctxt, msg,\n File "/var/lib/openstack/lib/python3.8/site-packages/oslo_messaging/transport.py", line 123, in _send\n return self._driver.send(target, ctxt, message,\n File "/var/lib/openstack/lib/python3.8/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 652, in send\n return self._send(target, ctxt, message, wait_for_reply, timeout,\n File "/var/lib/openstack/lib/python3.8/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 644, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. No such host - host: mgt06 node: None \nTraceback (most recent call last):\n\n File "/var/lib/openstack/lib/python3.8/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/scheduler/manager.py", line 154, in select_destinations\n resources = utils.resources_from_request_spec(\n\n File "/var/lib/openstack/lib/python3.8/site-packages/nova/scheduler/utils.py", line 664, in resources_from_request_spec\n raise exception.NoValidHost(reason=reason)\n\nnova.exception.NoValidHost: No valid host was found. No such host - host: mgt06 node: None \n\n'}
Hi, thanks for the report. Can you provide more detailed information about how to reproduce the error? It would be helpful if you went through these steps:
1) Describe the error and the expected behaviour.
2) What OS did you run into the issue on?
3) Specify the steps to reproduce the bug.
4) Attach tempest.conf. (Extra options -> Attachment)