Bug 2193122 - Set a default region for clients
Summary: Set a default region for clients
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-barbican-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 11:43 UTC by Lukas Piwowarski
Modified: 2023-08-16 01:15 UTC (History)
1 user (show)

Fixed In Version: python-barbican-tests-tempest-1.6.0-1.20230511090956.9fe096e.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 881486 0 None MERGED Set a default region for clients 2023-05-04 11:43:06 UTC
Red Hat Issue Tracker OSP-24765 0 None None None 2023-05-04 11:43:38 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:31 UTC

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


Note You need to log in before you can comment on or make changes to this bug.