Description of problem: octavia-tempest-plugin tests fail a Subnet not found error: testtools.testresult.real._StringException: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tempest/test.py", line 182, in setUpClass six.reraise(etype, value, trace) File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise raise value File "/usr/lib/python3.6/site-packages/tempest/test.py", line 175, in setUpClass cls.resource_setup() File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/tests/scenario/v2/test_healthmonitor.py", line 48, in resource_setup lb = cls.mem_lb_client.create_loadbalancer(**lb_kwargs) File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/common/decorators.py", line 42, in wrapper return f(*func_args, **func_kwargs) File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/services/load_balancer/v2/loadbalancer_client.py", line 95, in create_loadbalancer return self._create_object(**kwargs) File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/services/load_balancer/v2/base_client.py", line 101, in _create_object response, body = self.post(request_uri, jsonutils.dumps(obj_dict)) File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 300, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 704, in request self._error_checker(resp, resp_body) File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 815, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'faultcode': 'Client', 'faultstring': 'Subnet 458a86ab-5bee-47d6-b2b7-d50881146bf6 not found.', 'debuginfo': None} The subnet is always an IPv6 subnet, there have been recent changes in octavia-tempest-plugin related to the IPv6 VIPs after a security fix in Octavia. Looks like the security fix in present in the octavia RPM but this commit https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/774157 is missing from octavia-tempest-plugin Version-Release number of selected component (if applicable): 16.2 How reproducible: 100%
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:3483