[devstack] use role member instead of Member

the member role is the default one pre-created by Keystone
on bootstrap, so use it instead of legacy Member.

Change-Id: I02c8f2545ccf19df5546b3ff8c266ef95fae0a08
This commit is contained in:
Pavlo Shchelokovskyy
2024-12-16 19:20:12 +02:00
parent 99d8b78aeb
commit 27d79d1ec0

View File

@@ -212,7 +212,7 @@ function init_masakari {
ALT_TENANT_NAME=${ALT_TENANT_NAME:-alt_demo}
get_or_create_project ${ALT_TENANT_NAME} default
get_or_create_user ${ALT_USERNAME} "$ADMIN_PASSWORD" "default" "alt_demo@example.com"
get_or_add_user_project_role Member ${ALT_USERNAME} ${ALT_TENANT_NAME}
get_or_add_user_project_role member ${ALT_USERNAME} ${ALT_TENANT_NAME}
# The second part adds an admin user to the tenant.
ADMIN_ALT_USERNAME=${ADMIN_ALT_USERNAME:-admin_${ALT_USERNAME}}