Force os_primary and os_project_member to be the same
as tempest moves to 'safe rbac by default', it gradually replaces
usage of os_primary cred category with more explicitly named
os_project_member.
However, many tests are still asking for both.
If the test is testing for some RBAC access for both os_primary
and os_project_member creds, currently it will fail when using
pre-provisioned creds because those will be allocated from different
projects.
This patch forces the os_primary to be effectively a simple alias
to os_project_member in the case of pre-provisioned creds,
always creating and re-using the same cred as os_project_member does,
forcing them to always be the same if a test asks for both of them.
Related-Issue: RODX-37478
Change-Id: I407263bd905f30e563101895d209f7c3a686a6f2
(cherry picked from commit fd5feba5d52cacb090dbf31d65d40b3038c10ce9)
1 file changed