Skip to content

Commit 6681a1f

Browse files
committed
swift: Configure s3token appropriately
We need an appropriate auth_uri for s3token to be able to contact Keystone. Since tempauth is always enabled, we want to delay the auth decision until after tempauth has had a chance to try. Change-Id: Ie4ff33a617b9dc74d51d037ec8ebd0d9787dd76d
1 parent 5b48e36 commit 6681a1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ function configure_swift {
431431
swift_pipeline+=" authtoken"
432432
if is_service_enabled s3api;then
433433
swift_pipeline+=" s3token"
434+
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:s3token auth_uri ${KEYSTONE_AUTH_URI_V3}
435+
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:s3token delay_auth_decision true
434436
fi
435437
swift_pipeline+=" keystoneauth"
436438
fi

0 commit comments

Comments
 (0)