Bug 2178049 - project_member and project_reader dynamic credentials are in different projects
Summary: project_member and project_reader dynamic credentials are in different projects
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-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: 2178231
TreeView+ depends on / blocked
 
Reported: 2023-03-14 10:16 UTC by Martin Kopec
Modified: 2023-08-16 01:14 UTC (History)
4 users (show)

Fixed In Version: openstack-tempest-33.0.0-1.20230320130908.1580f6f.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2178231 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:14:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1964509 0 None None None 2023-03-14 10:16:15 UTC
OpenStack gerrit 871018 0 None MERGED Fix creation of requested creds within the same project 2023-03-14 10:16:15 UTC
Red Hat Issue Tracker OSP-23072 0 None None None 2023-03-14 10:17:13 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:14:34 UTC

Description Martin Kopec 2023-03-14 10:16:15 UTC
When using the new "project_member" and "project_reader" dynamic credentials, I found that the two credentials are created in different projects. This makes testing with these roles much harder.

Example:
credentials = ['admin', 'primary', 'system_admin', 'system_reader', 'project_member', 'project_reader']

##### primary project ID: 01e6f78fbc6a44e7b281145ef1e73a60
##### os_project_member project ID: 2f207de1fef54c21bc7a0b1274e67453
##### os_project_reader project ID: 196ae03170c3469bb1809137d8f58de2

Can we setup the member and reader credentials to be part of the same project to allow easier testing of the "read-only" role?

Comment 4 Martin Kopec 2023-03-30 09:50:14 UTC
The Fix in version package contains the required patch. It was a clean backport, I checked the dependencies (patches merged before the fix in upstream) and all is included. This can be VERIFIED.

Comment 12 errata-xmlrpc 2023-08-16 01:14:17 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.