Skip to content

Commit 9b21f98

Browse files
committed
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
1 parent 32e0feb commit 9b21f98

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ admin_password = ${SERVICE_PASSWORD}
455455
456456
[filter:swift3]
457457
use = egg:swift3#swift3
458+
location = ${REGION_NAME}
458459
EOF
459460
fi
460461

0 commit comments

Comments
 (0)