...
|
...
|
@@ -83,7 +83,12 @@ export OS_AUTH_TYPE=password
|
83
|
83
|
# the user/project has access to - including nova, glance, keystone, swift, ...
|
84
|
84
|
# We currently recommend using the version 3 *identity api*.
|
85
|
85
|
#
|
86
|
|
-export OS_AUTH_URL=$KEYSTONE_AUTH_URI
|
|
86
|
+
|
|
87
|
+# If you don't have a working .stackenv, this is the backup possition
|
|
88
|
+KEYSTONE_BACKUP=$SERVICE_PROTOCOL://$SERVICE_HOST:5000
|
|
89
|
+KEYSTONE_AUTH_URI=${KEYSTONE_AUTH_URI:-$KEYSTONE_BACKUP}
|
|
90
|
+
|
|
91
|
+export OS_AUTH_URL=${OS_AUTH_URL:-$KEYSTONE_AUTH_URI}
|
87
|
92
|
|
88
|
93
|
# Currently, in order to use openstackclient with Identity API v3,
|
89
|
94
|
# we need to set the domain which the user and project belong to.
|