Bug 2193122

Summary: Set a default region for clients
Product: Red Hat OpenStack Reporter: Lukas Piwowarski <lpiwowar>
Component: python-barbican-tests-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: mkopec
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-barbican-tests-tempest-1.6.0-1.20230511090956.9fe096e.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:14:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Piwowarski 2023-05-04 11:43:07 UTC
We need to backport this [1] change in order to fix barbican SRBAC testing for 17.1.:

Set a default region for clients

Clients initialized for tests.api.* tests do not have defined values
for region [1]. Because of that the clients connect to the first
available service endpoint that they find (see this line in
tempest [2]). This can cause issues when there are multiple endpoints
on a system for barbican (admin, internal, public).

This change sets a default value for key_manager.region config option
to 'regionOne' and ensures that clients defined on the side of
barbican-tempest-plugin are intialised with this value.

[1] https://review.opendev.org/c/openstack/barbican-tempest-plugin/+/881486

Comment 1 Lukas Piwowarski 2023-05-05 08:30:37 UTC
The change is merged in upstream and a patch has been proposed to downstream gerrit. I'm moving this to POST.

Comment 14 errata-xmlrpc 2023-08-16 01:14:53 UTC
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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-2023:4577