Browse code

Always defines tempest_roles as Member

Because tests might force the auth version to v3, we always need
to have Member in the list of roles.

Change-Id: I06fd043e1b31ae0e5e33f4dcf898fb58f2907267

Andrea Frittoli (andreaf) authored on 2015/03/26 06:24:24
Showing 1 changed files
... ...
@@ -315,9 +315,7 @@ 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
+    iniset $TEMPEST_CONFIG auth tempest_roles "Member"
321 319
 
322 320
     # Compute
323 321
     iniset $TEMPEST_CONFIG compute ssh_user ${DEFAULT_INSTANCE_USER:-cirros} # DEPRECATED