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
This commit is contained in:
parent
f82f7daa14
commit
0a8b3222a8
@ -133,7 +133,7 @@ fi
|
|||||||
|
|
||||||
sed -e "
|
sed -e "
|
||||||
/^api_key=/s|=.*\$|=$ADMIN_PASSWORD|;
|
/^api_key=/s|=.*\$|=$ADMIN_PASSWORD|;
|
||||||
/^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/tokens/|;
|
/^auth_url=/s|=.*\$|=${OS_AUTH_URL%/}/|;
|
||||||
/^host=/s|=.*\$|=$HOST_IP|;
|
/^host=/s|=.*\$|=$HOST_IP|;
|
||||||
/^image_ref=/s|=.*\$|=$IMAGE_UUID|;
|
/^image_ref=/s|=.*\$|=$IMAGE_UUID|;
|
||||||
/^password=/s|=.*\$|=$ADMIN_PASSWORD|;
|
/^password=/s|=.*\$|=$ADMIN_PASSWORD|;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user