Browse code

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

Andrey Pavlov authored on 2015/08/21 05:37:04
Showing 1 changed files
... ...
@@ -455,6 +455,7 @@ admin_password = ${SERVICE_PASSWORD}
455 455
 
456 456
 [filter:swift3]
457 457
 use = egg:swift3#swift3
458
+location = ${REGION_NAME}
458 459
 EOF
459 460
     fi
460 461