Adding tempest_roles when auth_version is v3
With identity v3 the _member_ role is not added on the projects automatically for the user when it's created. Setting _member_ to tempest_roles so that tempest adds the role. Change-Id: Iaae9286ecc6f019d36261a5c450068a650e24a28
This commit is contained in:
@@ -315,6 +315,9 @@ function configure_tempest {
|
|||||||
|
|
||||||
# Auth
|
# Auth
|
||||||
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
|
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
|
||||||
|
if [[ "$TEMPEST_AUTH_VERSION" == "v3" ]]; then
|
||||||
|
iniset $TEMPEST_CONFIG auth tempest_roles "Member"
|
||||||
|
fi
|
||||||
|
|
||||||
# Compute
|
# Compute
|
||||||
iniset $TEMPEST_CONFIG compute ssh_user ${DEFAULT_INSTANCE_USER:-cirros} # DEPRECATED
|
iniset $TEMPEST_CONFIG compute ssh_user ${DEFAULT_INSTANCE_USER:-cirros} # DEPRECATED
|
||||||
|
|||||||
Reference in New Issue
Block a user