Browse code

Avoid duplicate "/tokens" path in auth_url.

The "/tokens" path is explicitly appended to the OS_AUTH_URL
by the configure_tempest.sh tool, but this is also appended
internally by glance:

https://github.com/openstack/glance/blob/master/glance/common/auth.py#L111

leading to a duplicated "/tokens/tokens" path.

Change-Id: I2ea49289f7e1976346eff220dc3d1664bdad4fb0

Eoghan Glynn authored on 2012/03/05 22:15:56
Showing 1 changed files
... ...
@@ -133,7 +133,7 @@ fi
133 133
 
134 134
 sed -e "
135 135
     /^api_key=/s|=.*\$|=$ADMIN_PASSWORD|;
136
-    /^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/tokens/|;
136
+    /^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/|;
137 137
     /^host=/s|=.*\$|=$HOST_IP|;
138 138
     /^image_ref=/s|=.*\$|=$IMAGE_UUID|;
139 139
     /^password=/s|=.*\$|=$ADMIN_PASSWORD|;