-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
Failure:
Traceback (most recent call last): File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/dynamic/client.py", line 55, in inner resp = func(self, *args, **kwargs) File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/dynamic/client.py", line 270, in request api_response = self.client.call_api( File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/client/api_client.py", line 348, in call_api return self.__call_api(resource_path, method, File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/client/api_client.py", line 180, in __call_api response_data = self.request( File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/client/api_client.py", line 373, in request return self.rest_client.GET(url, File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/client/rest.py", line 240, in GET return self.request("GET", url, File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/kubernetes/client/rest.py", line 234, in request raise ApiException(http_resp=r) kubernetes.client.exceptions.ApiException: (403) Reason: Forbidden HTTP response headers: HTTPHeaderDict({'Audit-Id': '2ebfb2bc-0612-47e2-bca7-fb7ee7f6a595', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '3facf271-4b59-43d5-8af4-1ed1b9d823c4', 'X-Kubernetes-Pf-Prioritylevel-Uid': '4425dd51-aa8d-4b89-80f6-d6ec55ef1538', 'Date': 'Fri, 15 Nov 2024 16:49:57 GMT', 'Content-Length': '343'}) HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets \\"neutron-config\\" is forbidden: User \\"system:serviceaccount:openstack:tempest-tests\\" cannot get resource \\"secrets\\" in API group \\"\\" in the namespace \\"openstack\\"","reason":"Forbidden","details":{"name":"neutron-config","kind":"secrets"},"code":403}\n'
Cause:
The test doesn't seem to be authorized to retrieve OCP resources info (the same cause of OSPRH-11676. In this case the replacing neutron_ctlplane_config and ovn_logical_switches_output with the actual data (from CLI) makes the test pass.