Merge "Ensure we disable tenant isolation without admin"

This commit is contained in:
Jenkins 2015-10-29 06:18:03 +00:00 committed by Gerrit Code Review
commit fd97214a0e

View File

@ -559,9 +559,13 @@ function configure_tempest {
fi
iniset $TEMPEST_CONFIG auth allow_tenant_isolation False
iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
elif [[ $TEMPEST_HAS_ADMIN == "False" ]]; then
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-False}
else
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
fi
# Restore IFS
IFS=$ifs
}