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:
Andrea Frittoli 2015-03-13 12:05:49 +00:00
parent 68ed19b696
commit 7b2eaedabf

View File

@ -315,6 +315,9 @@ function configure_tempest {
# Auth
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
iniset $TEMPEST_CONFIG compute ssh_user ${DEFAULT_INSTANCE_USER:-cirros} # DEPRECATED