Conversation
|
cc @clwluvw |
|
Can you please take a look at #59305? I believe there is more about it. |
if we're forwarding the same request body, we shouldn't need to mess with content-sha256 or re-sign the request. maybe you can suggest a test case to show what's missing here? |
|
There are two different sides to the problem. One is about the behavior of Lines 3477 to 3481 in 37e0285 This PR eliminates the fact that the body is empty and the signature is mismatched but the other problems of the mentioned code and when it needs to be re-sign (I faced that in delete I guess) and when the body is empty (which probably with this PR we don't have the case but can be fixed generally as the logic) are still there. |
|
FYI, another issue on bucket creation: #60254 |
|
@shilpa are you going to approve this? It is in use downstream. |
@mattbenjamin wasn't happy with the test I added. but i guess it'll do. |
|
jenkins test make check arm64 |
|
|
i opened https://tracker.ceph.com/issues/69281 for backports to reef and squid |
I guess reef is immune from this as this was a regression by #50599 that hasn't been backported to reef if I'm not mistaken. |
thanks, updated the tracker |
looks like https://tracker.ceph.com/issues/63798 or https://tracker.ceph.com/issues/53959 |
|
jenkins test make check |
commented on https://tracker.ceph.com/issues/46875 |
|
jenkins test make check |
|
had it working locally, but both multisite jobs failed in https://pulpito.ceph.com/cbodley-2024-12-17_21:39:06-rgw-wip-69281-distro-default-smithi/ |
74a2cb5 to
ac75ecb
Compare
6e4763d to
b0e6036
Compare
the request body, thus missing some data if specified inside CreateBucketConfiguration xml on the non-master zone. also, now that we perform cksum validation against empty payloads, such a request would fail with -ERR_AMZ_CONTENT_SHA256_MISMATCH due to a zero content-length but a non-empty payload hash. this fix ensures that request body is forwarded during create_bucket Signed-off-by: Shilpa Jagannath <[email protected]>
b0e6036 to
43a6f12
Compare
|
jenkins test api |
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e