-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Ceph Object Store: Use "us-east-1" as the default signing region to avoid setting location constraint #12285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.20
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12285 +/- ##
============================================
- Coverage 16.22% 16.22% -0.01%
- Complexity 13358 13360 +2
============================================
Files 5657 5657
Lines 498692 498692
Branches 60530 60530
============================================
- Hits 80932 80920 -12
- Misses 408738 408743 +5
- Partials 9022 9029 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rohityadavcloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the default come from pool or global setting instead of being hard-coded ?
|
LGTM |
|
Thanks for the quick review.
I don't think we'll need any other value apart from "us-east-1" |
|
@blueorangutan package |
|
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16082 |
Description
Fixes #12130
Using "auto" as the signingRegion in AwsClientBuilder forces the s3 client to infer region from the url and set it as LocationConstraint while sending the request which is not required for ceph and causes the issue
The specified location-constraint is not validIn PR #10772, the signing_region was changed to null which avoids setting location constraint for some endpoints but not all.
Setting the signing_region as "us-east-1" fixes it for all endpoints as the AWSClient SDK treats "us-east-1" as default and doesn't set any location constraints.
The table below describes what happens to createBucket with different endpoints and signing_regions.
endpoint ↓
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?