[temptest] tempest.lib.exceptions.Unauthorized on every tempest.api.object_storage.* test

Bug #2020121 reported by Moises Emilio Benzan Mora
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
New
Undecided
Unassigned

Bug Description

Seen this for the first time in an SQA lab. Happens on every tempest.api.object_storage.* temptest test.
===================================Stack Trace===============================================
Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/test.py", line 206, in setUpClass
    raise value.with_traceback(trace)
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/test.py", line 199, in setUpClass
    cls.resource_setup()
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/api/object_storage/test_account_services.py", line 45, in resource_setup
    cls.container_client.update_container(name)
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/lib/services/object_storage/container_client.py", line 45, in update_container
    resp, body = self.put(url, body=None, headers=headers)
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/lib/common/rest_client.py", line 372, in put
    return self.request('PUT', url, extra_headers, headers, body, chunked)
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/lib/common/rest_client.py", line 742, in request
    self._error_checker(resp, resp_body)
  File "/home/ubuntu/snap/fcbtest/43/.rally/verification/verifier-ffd32fe3-b690-4712-b71c-51c457478082/repo/tempest/lib/common/rest_client.py", line 842, in _error_checker
    raise exceptions.Unauthorized(resp_body, resp=resp)
tempest.lib.exceptions.Unauthorized: Unauthorized
Details: b'AccessDenied'

=========================================Version===============================================
maas 3.2.7-12037-g.c688dd446
juju 3.2-rc1
cpe-foundation 2.20.1
infra-ubuntu focal
ceph quincy/stable
charms yoga/stable
charmed-kubernetes 1.27
openstack yoga
cloud-init 23.1.2-0ubuntu0~22.04.1
cos-lite latest/stable:11
========================================Further Info===========================================
Test Run: https://solutions.qa.canonical.com/v2/testruns/f589ba71-976b-4e20-bfac-3e0a97224724/

Artifacts: https://oil-jenkins.canonical.com/artifacts/f589ba71-976b-4e20-bfac-3e0a97224724/index.html

Future Occurrences can be found at: https://solutions.qa.canonical.com/v2/bugs/2020121

description: updated
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.