FloatingIpTestCasesAdmin.test_two_vms_fips tests failed with server failed to build with No valid host was found.

Bug #1921087 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

https://logserver.rdoproject.org/openstack-periodic-integration-stable3/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-train/6ab7951/logs/undercloud/var/log/tempest/tempest_run.log.txt.gz

```
neutron_tempest_plugin.scenario.admin.test_floatingip.FloatingIpTestCasesAdmin.test_two_vms_fips[id-6bba729b-3fb6-494b-9e1e-82bbd89a1045]
-----------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/admin/test_floatingip.py", line 102, in test_two_vms_fips
        server_ssh_clients, fips = self._create_vms(hyper, avail_zone)
      File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/admin/test_floatingip.py", line 77, in _create_vms
        const.SERVER_STATUS_ACTIVE)
      File "/usr/lib/python3.6/site-packages/tempest/common/waiters.py", line 76, in wait_for_server_status
        server_id=server_id)
    tempest.exceptions.BuildErrorException: Server 4bb2301e-5784-4d5e-b446-13190c80aaf8 failed to build and is in ERROR status
    Details: {'code': 500, 'created': '2021-03-24T07:57:13Z', 'message': 'No valid host was found. No such host - host: overcloud-novacompute-1.novalocal node: None ', 'details': 'Traceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 1379, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 839, in _schedule_instances\n return_alternates=return_alternates)\n File "/usr/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/usr/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 181, in call\n transport_options=self.transport_options)\n File "/usr/lib/python3.6/site-packages/oslo_messaging/transport.py", line 129, in _send\n transport_options=transport_options)\n File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 674, in send\n transport_options=transport_options)\n File "/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 664, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. No such host - host: overcloud-novacompute-1.novalocal node: None \nTraceback (most recent call last):\n\n File "/usr/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 235, in inner\n return func(*args, **kwargs)\n\n File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 155, in select_destinations\n enable_pinning_translate=True)\n\n File "/usr/lib/python3.6/site-packages/nova/scheduler/utils.py", line 598, in resources_from_request_spec\n raise exception.NoValidHost(reason=reason)\n\nnova.exception.NoValidHost: No valid host was found. No such host - host: overcloud-novacompute-1.novalocal node: None \n\n'}

```

While going through the bug, we found that there is a similar bug reported long time ago:
https://bugs.launchpad.net/tripleo/+bug/1832537

https://opendev.org/openstack/tripleo-heat-templates/commit/12aaf4b54c7dfe2e5e3044882af78bb340a5d63c fixed
the issue.

It needs to be backported to train and also there is a series of patches the bug.

Call of actions here:
1. We are disabling this tests currently.
2. Backport the relevant patches to train till the job green
3. Revert the disabled tests.

Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
Martin Schuppert (mschuppert) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.