Iniset keystone auth version
Introduces support for suth_version config flag in lib/tempest.
The variable is named TEMPEST_AUTH_VERSION, and it can be set
via localrc, so that the devstack-vm-gate-wrap may control it.
The aim is to setup a keystone v3 based experimental check
job in tempest experimental pipeline.
Partially implements bp multi-keystone-api-version-tests
Change-Id: Ia6832d87308c6c7109e6ae0dbd8dff61134718ee
diff --git a/lib/tempest b/lib/tempest
index 8455aae..b90988d 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -267,6 +267,7 @@
iniset $TEMPEST_CONFIG identity admin_username $ADMIN_USERNAME
iniset $TEMPEST_CONFIG identity admin_password "$password"
iniset $TEMPEST_CONFIG identity admin_tenant_name $ADMIN_TENANT_NAME
+ iniset $TEMPEST_CONFIG identity auth_version ${TEMPEST_AUTH_VERSION:-v2}
# Image
# for the gate we want to be able to override this variable so we aren't