From 9b21f98ce0aa5093e477bab68aede5af0fb8d9ad Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Thu, 20 Aug 2015 23:37:04 +0300 Subject: [PATCH] Add region definition to swift3 Swift3 should be in the same region as all other cloud. By default it has regaion name 'US'. It's ok for requests that signed by version 1 of signature because they haven't region information in request. But S3 signature of version 4 protocol sends region name to server and swift3 plugin checks that input region equals to internal. And because all cloud lives with 'RegionOne' then swift3 fails request because it has 'US' region name by default. Change-Id: Icd817183b1a040110372a8ae5d73fd2f0ec5559c Related-Bug: #1411078 --- lib/swift | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/swift b/lib/swift index dac121be0c..233a493acb 100644 --- a/lib/swift +++ b/lib/swift @@ -455,6 +455,7 @@ admin_password = ${SERVICE_PASSWORD} [filter:swift3] use = egg:swift3#swift3 +location = ${REGION_NAME} EOF fi