Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2178049

Summary: project_member and project_reader dynamic credentials are in different projects
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: apevec, lhh, slinaber, udesale
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-33.0.0-1.20230320130908.1580f6f.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2178231 (view as bug list) Environment:
Last Closed: 2023-08-16 01:14:17 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:
Bug Depends On:    
Bug Blocks: 2178231    

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