Browse code

Merge "Ensure we disable tenant isolation without admin"

Jenkins authored on 2015/10/29 15:18:03
Showing 1 changed files
... ...
@@ -559,9 +559,13 @@ function configure_tempest {
559 559
         fi
560 560
         iniset $TEMPEST_CONFIG auth allow_tenant_isolation False
561 561
         iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
562
+    elif [[ $TEMPEST_HAS_ADMIN == "False" ]]; then
563
+        iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-False}
564
+
562 565
     else
563 566
         iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
564 567
     fi
568
+
565 569
     # Restore IFS
566 570
     IFS=$ifs
567 571
 }