Skip to content

squid: RGW | fix conditional Delete, MultiDelete and Put - #65932

Merged
batrick merged 19 commits into
ceph:squidfrom
cupnes:wip-73089-squid
Sep 3, 2026
Merged

batrick merged 19 commits into
ceph:squidfrom
cupnes:wip-73089-squid

Conversation

@cupnes

@cupnes cupnes commented Oct 14, 2025

Copy link
Copy Markdown

backport tracker: https://tracker.ceph.com/issues/73089


backport of #63348
parent tracker: https://tracker.ceph.com/issues/68183

This PR was created using ceph-backport.sh version 16.0.0.6848 for branch creation and cherry-picking, followed by manual conflict resolution, push and PR creation.

@cupnes
cupnes requested a review from a team as a code owner October 14, 2025 12:00
@github-actions github-actions Bot added the rgw label Oct 14, 2025
@github-actions github-actions Bot added this to the squid milestone Oct 14, 2025
@cupnes

cupnes commented Oct 14, 2025

Copy link
Copy Markdown
Author

Once this PR is merged, I plan to create a backport PR for issue #73076 as well.

@cupnes
cupnes force-pushed the wip-73089-squid branch 4 times, most recently from d5bf282 to df6e05a Compare October 15, 2025 05:52

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cupnes

cupnes commented Oct 16, 2025

Copy link
Copy Markdown
Author

@cbodley
I cherry-picked commit 69353cf from PR #64997 and included it in this PR.

@cupnes

cupnes commented Oct 20, 2025

Copy link
Copy Markdown
Author

@cbodley
Sorry, I addressed this comment.

@cbodley

cbodley commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

cc @adamemerson this will need manual qa against ceph/s3-tests#663

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@cupnes
cupnes force-pushed the wip-73089-squid branch 9 times, most recently from 34201ad to 19ccfc0 Compare October 30, 2025 08:45
cbodley and others added 4 commits August 26, 2026 14:42
Signed-off-by: Casey Bodley <[email protected]>
(cherry-picked from ceph/s3-tests@e6c5ad3)

Conflicts:
        files from s3-tests repo moved under src/test/rgw/s3-tests
Signed-off-by: Casey Bodley <[email protected]>
(cherry-picked from ceph/s3-tests@474a7e2)

Conflicts:
        files from s3-tests repo moved under src/test/rgw/s3-tests
we expected an error if we delete non-existent objects but that is not
true

Signed-off-by: Ali Masarwa <[email protected]>
(cherry-picked from ceph/s3-tests@6833430)

Conflicts:
        files from s3-tests repo moved under src/test/rgw/s3-tests
Signed-off-by: Ali Masarwa <[email protected]>
(cherry-picked from ceph/s3-tests@8be24ac)

Conflicts:
        files from s3-tests repo moved under src/test/rgw/s3-tests
@cbodley

cbodley commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

i pulled in the test cases from ceph/s3-tests#663. this also depended on the "Unpin botocore" patch series prepared by @adamemerson in #71207

because we can't cherry-pick commits from another repo (s3-tests) i instead had to rely on git format-patch and git am

~/s3-tests $ git format-patch 5f6d5b12450df7919d175435b5ab05e8fea77e56^..8be24ac631850e7da8e52fad6041c36684acb606
0001-s3-test-put_object-with-IfMatch-and-IfNoneMatch.patch                                                                                  
0002-s3-test-delete_object-with-IfMatch.patch                                                                                               
0003-s3-test-delete_object-with-IfMatchLastModifiedTime.patch                                                                               
0004-s3-test-delete_object-with-IfMatchSize.patch                                                                                           
0005-s3-test-delete_objects-with-ETag.patch                                                                                                 
0006-s3-test-delete_objects-with-LastModifiedTime.patch                                                                                     
0007-s3-test-delete_objects-with-Size.patch                                                                                                 
0008-s3-fixed-tests.patch                                                                                                                   
0009-s3-more-testing-for-conditional-put.patch

i edited those patches to change all paths to their new home in the ceph tree under src/test/rgw/s3-tests/

~/ceph $ git am ~/s3-tests/*.patch

this hit conflicts for the first patch that i had to resolve manually. but after that, git am --continue applied the remaining patches without conflict. those new test cases passed against a local vstart cluster

@cbodley cbodley mentioned this pull request Aug 26, 2026
14 tasks
@adamemerson adamemerson removed releng-audit-fail Release engineering: failed backport verification audit. needs-ci-approval labels Aug 26, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 26, 2026
@cbodley

cbodley commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@batrick

batrick commented Aug 26, 2026

Copy link
Copy Markdown
Member

This PR has been added to squid integration testing by pdonnell started 2026-08-26-22:31.

Fixes: https://tracker.ceph.com/issues/72094

Signed-off-by: Adam C. Emerson <[email protected]>
(cherry-picked from commit ceph/s3-tests@85a9b06)

Conflicts:
        files from s3-tests repo moved under src/test/rgw/s3-tests
@cbodley

cbodley commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

pending qa in https://pulpito.ceph.com/cbodley-2026-08-26_21:45:35-rgw-wip-73089-squid-distro-default-trial/

see the new test cases passing in all jobs except rgw/dbstore. an additional commit from ceph/s3-tests#689 was needed to mark these tests with fails_on_dbstore

@cbodley

cbodley commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Sep 3, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants