Skip to content

Commit 0a8b322

Browse files
author
Eoghan Glynn
committed
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
1 parent f82f7da commit 0a8b322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/configure_tempest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fi
133133

134134
sed -e "
135135
/^api_key=/s|=.*\$|=$ADMIN_PASSWORD|;
136-
/^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/tokens/|;
136+
/^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/|;
137137
/^host=/s|=.*\$|=$HOST_IP|;
138138
/^image_ref=/s|=.*\$|=$IMAGE_UUID|;
139139
/^password=/s|=.*\$|=$ADMIN_PASSWORD|;

0 commit comments

Comments
 (0)