Browse code

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

Andrea Frittoli authored on 2015/03/13 21:05:49
Showing 1 changed files
... ...
@@ -315,6 +315,9 @@ function configure_tempest {
315 315
 
316 316
     # Auth
317 317
     iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
318
+    if [[ "$TEMPEST_AUTH_VERSION" == "v3" ]]; then
319
+        iniset $TEMPEST_CONFIG auth tempest_roles "Member"
320
+    fi
318 321
 
319 322
     # Compute
320 323
     iniset $TEMPEST_CONFIG compute ssh_user ${DEFAULT_INSTANCE_USER:-cirros} # DEPRECATED