The python-keystoneclient requires a trailing /v<IDENTITY_API_VERSION> to
successfully authenticate, otherwise it fails with a 404 error due to a not
found resource.
This error showed up only when generating Swift tempurls, because the error was
raised when using python-swiftclient.
This change fixes this for python-swiftclient within devstack.
Change-Id: Ibe222d65162898db69acba076b5fe1cb3621fbc3
Closes-Bug: 1492216
| ... | ... |
@@ -801,6 +801,7 @@ function swift_configure_tempurls {
|
| 801 | 801 |
OS_USERNAME=swift \ |
| 802 | 802 |
OS_TENANT_NAME=$SERVICE_TENANT_NAME \ |
| 803 | 803 |
OS_PASSWORD=$SERVICE_PASSWORD \ |
| 804 |
+ OS_AUTH_URL=$KEYSTONE_AUTH_URI/v$IDENTITY_API_VERSION \ |
|
| 804 | 805 |
swift post -m "Temp-URL-Key: $SWIFT_TEMPURL_KEY" |
| 805 | 806 |
} |
| 806 | 807 |
|