rgw: fix GetObject ETag with part number parameter #65194
Conversation
|
Test scenario Result before fix Result after fix |
- Changed from returning part MD5 to object ETag Signed-off-by: sungjoon_koh <sungjoon_koh@linecorp.com>
aa2c0df to
9100fd5
Compare
|
@cbodley Could you please check this PR? Thank you. |
|
aws S3 test result |
|
@clwluvw Can you take a look and see if this looks reasonable to you? |
|
Perhaps it would be worth a test case in https://github.com/ceph/s3-tests as well. |
|
@clwluvw I’ve updated the get_part tests and opened an s3-tests PR: ceph/s3-tests#699. |
|
As a note: This has new s3tests and needs to be QA'd separately. It should not receive the needs-qa tag. @clwluvw If the s3tests meet with your approval could you make a staging branch and run RGW QA against the new s3-tests? |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
can we get a tracker for this? and potential backports for the active releases? |
|
@clwluvw Could you please review this PR at your convenience? |
|
i prepared a test branch https://github.com/ceph/ceph-ci/commits/wip-cbodley-testing that includes #66042 and #65194, and points to an s3-tests branch https://github.com/cbodley/s3-tests/commits/wip-cbodley-testing that includes ceph/s3-tests#704 and ceph/s3-tests#699 |
created https://tracker.ceph.com/issues/74060 for squid/tentacle backports |
lots of failures, but i think they're all unrelated. the rgw/sts jobs showed new test failures, but i ran them against main in https://pulpito.ceph.com/cbodley-2025-12-04_17:21:30-rgw:sts-main-distro-default-smithi/ and saw the same - now tracking in https://tracker.ceph.com/issues/74099 confirmed that the updated test cases are passing (see example teuthology.log): |
Modified ETag to return the object's ETag instead of the individual part's MD5 hash when part number is specified in GetObject requests. This change aligns with AWS S3 specification.
Corresponding S3 test update - ceph/s3-tests#699
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 test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition