Repository navigation
Conversation
Hostnames are case-insensitive, and arsenal now matches the request Host against the endpoints in lowercase and lowercases parsedHost (ARSN-691), expecting lowercase endpoints. Lowercase the restEndpoints keys when loading the config and in setRestEndpoints, and the websiteEndpoints list, so that routing, website matching and the endpoint location lookup in bucketPut find endpoints configured with any case. Rest endpoints that only differ by case are rejected: after lowercasing they would be the same endpoint, possibly with conflicting locations. Website endpoints that only differ by case are deduplicated. Issue: CLDSRV-1116
Temporary pin to the unreleased ARSN-691 commit, to be replaced by the arsenal release. Issue: CLDSRV-1116
Hello delthas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
| "@opentelemetry/instrumentation-ioredis": "~0.70.0", | ||
| "@opentelemetry/instrumentation-mongodb": "~0.75.0", | ||
| "@scality/arsenal": "^8.6.7", | ||
| "@scality/arsenal": "git+https://github.com/scality/Arsenal.git#9c1a5d5f3304d1bab55bb728918a3a60dec08063", |
There was a problem hiding this comment.
Arsenal is pinned to a bare commit SHA, not a release/tag. Replace with the arsenal release containing ARSN-691 (and regenerate yarn.lock) before merging.
There was a problem hiding this comment.
I know, will fix before merging
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command: Alternatively, the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 2 files with indirect coverage changes @@ Coverage Diff @@
## development/9.5 #6412 +/- ##
================================================
Coverage 90.56% 90.57%
================================================
Files 208 208
Lines 39327 39342 +15
================================================
+ Hits 35616 35633 +17
+ Misses 3711 3709 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
francoisferrand
left a comment
There was a problem hiding this comment.
I think this is the wrong place : such normalization should be done earlier, i.e. in Pensieve-API (and possibly zkop, for initial overlay?), as it will be used for various k8s resources.
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
This is part of trying to make uppercase S3 endpoints work, from https://scality.atlassian.net/browse/RD-1336
This part is concerned with matching client requests with their S3 endpoints.
Previously, a request for
S3.Example.comfor the endpoints3.example.comwould getInvalidURI(https://scality.atlassian.net/browse/S3C-3953)The Arsenal PR now lowercases the host header, but it needs lowercased endpoints too.
This fixes it by lowercasing the rest and web endpoints. No side effects found. (We also fail on a config with multiple endpoints having just a different casing, since that would be ambiguous, eg
S3.Example.com+s3.example.com.Issue: CLDSRV-1116