try to match the admin-openrc as per functest latest. 65/39765/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Mon, 21 Aug 2017 13:11:02 +0000 (08:11 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Mon, 21 Aug 2017 13:13:47 +0000 (08:13 -0500)
Change-Id: Ib2674038f82ae2825544149b7b88ee5ba8cb7d22
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/openstack.sh

index 98ebb14..c54416c 100755 (executable)
@@ -130,28 +130,17 @@ EOF
 
 configOpenrc() {
 cat <<-EOF
-export OS_NO_CACHE='true'
+#export OS_NO_CACHE='true'
+export OS_AUTH_URL=$4
+export OS_USER_DOMAIN_NAME=admin_domain
+export OS_PROJECT_DOMAIN_NAME=admin_domain
+export OS_USERNAME=$1
 export OS_TENANT_NAME=$3
-#export OS_TENANT_ID=$7
 export OS_PROJECT_NAME=$3
-export OS_USERNAME=$1
 export OS_PASSWORD=$2
+export OS_VOLUME_API_VERSION=2
 export OS_IDENTITY_API_VERSION=3
-export OS_DEFAULT_DOMAIN=admin_domain
-export OS_USER_DOMAIN_NAME=admin_domain
-export OS_USER_DOMAIN_ID=$9
-export OS_PROJECT_DOMAIN_NAME=admin_domain
-export OS_PROJECT_DOMAIN_ID=$8
-export OS_AUTH_STRATEGY='keystone'
-export OS_REGION_NAME=$5
-export CINDER_ENDPOINT_TYPE=$6
-export GLANCE_ENDPOINT_TYPE=$6
-export KEYSTONE_ENDPOINT_TYPE=$6
-export NOVA_ENDPOINT_TYPE=$6
-export NEUTRON_ENDPOINT_TYPE=$6
-export OS_ENDPOINT_TYPE=$6
-export OS_INTERFACE=public
-export OS_AUTH_URL=$4
+export OS_IMAGE_API_VERSION=2
 EOF
 }