From 59fb961180caf0981aa5e3fc5a022fbe3bf3e463 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 15 Aug 2017 13:48:04 -0700 Subject: [PATCH] Allow both Keystone and Tempauth reseller prefixes ... to be used with domain_remap. Swift will start functionally testing domain_remap in I63428132283986bda9e5c082ffe85741449b71ba. Change-Id: I4c1ab06d040d91fd8c314d0aa2cecbbb00adf8ad --- lib/swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/swift b/lib/swift index 455740ea82..72a810352f 100644 --- a/lib/swift +++ b/lib/swift @@ -464,6 +464,9 @@ function configure_swift { iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} filter:tempauth account_autocreate iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:tempauth reseller_prefix "TEMPAUTH" + # Allow both reseller prefixes to be used with domain_remap + iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:domain_remap reseller_prefixes "AUTH, TEMPAUTH" + if is_service_enabled swift3; then cat <>${SWIFT_CONFIG_PROXY_SERVER} [filter:s3token]