Skip to content

rgw/admin: enhance bucket list --marker to support versioned bucket pagination - #68163

Merged
cbodley merged 3 commits into
mainfrom
wip-oozmen-75831
Apr 20, 2026
Merged

cbodley merged 3 commits into
mainfrom
wip-oozmen-75831

Conversation

@BBoozmen

@BBoozmen BBoozmen commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

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

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@BBoozmen BBoozmen self-assigned this Apr 1, 2026
@BBoozmen
BBoozmen requested review from a team as code owners April 1, 2026 14:23
Comment thread src/rgw/radosgw-admin/radosgw-admin.cc Resolved
Comment thread src/rgw/radosgw-admin/radosgw-admin.cc Resolved
@BBoozmen BBoozmen added wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh and removed wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh labels Apr 13, 2026
…ct-version in bucket listing

Signed-off-by: Oguzhan Ozmen <[email protected]>
@BBoozmen

Copy link
Copy Markdown
Contributor Author

In teuthology test, singleton tests failed because of the testcase introduced in this PR. The new testcase should create its own bucket (as the testcase makes it versioned) rather than re-using the existing one. Otherwise, it affects other testcases. Just added a change to update the testcase.

@BBoozmen BBoozmen added the wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh label Apr 16, 2026
@BBoozmen

Copy link
Copy Markdown
Contributor Author

Tested this PR in the integration test branch https://github.com/ceph/ceph-ci/commits/wip-oozmen-testing-2026-04-16-0021/ together with other 4 PRs:

Results are at https://pulpito.ceph.com/bcs-ceph-2026-04-16_11:07:58-rgw-wip-oozmen-testing-2026-04-16-0021-distro-default-trial/ which showed 5 failures and

A detailed analysis of these 2 runs can be found at #67424 (comment). In summary, considering the 2nd run (i.e., re-run):

Job Pass Fail Total
wip-oozmen-testing-2026-04-16-0021 70 2 72

2 Failures look irrelevant to this PR:

Job ID Suite OS Failure Reason
155880 rgw/multisite ubuntu 22.04 1 out of 112 test failed: AssertionError: 3 != 16 -> https://tracker.ceph.com/issues/75716 (passed in re-run) but 2 other tests failed
155936 rgw/notifications ubuntu 22.04 Cleanup failure: rmdir /home/ubuntu/cephtest failed on trial017 (exit 1)

multisite

centos -> two zones (passed):

2026-04-16T17:35:52.032 INFO:tasks.rgw_multisite_tests:Ran 56 tests in 2573.473s
2026-04-16T17:35:52.032 INFO:tasks.rgw_multisite_tests:
2026-04-16T17:35:52.032 INFO:tasks.rgw_multisite_tests:OK (SKIP=2)

ubuntu -> two zonegroups: 1 test (test_copy_object_different_bucket) failed (in re-run this testcase PASSED)

2026-04-16T16:57:45.326 INFO:tasks.rgw_multisite_tests:======================================================================
2026-04-16T16:57:45.326 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
...
2026-04-16T16:57:45.327 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 16
2026-04-16T16:57:45.327 INFO:tasks.rgw_multisite_tests:
2026-04-16T16:57:45.327 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-04-16T16:57:45.327 INFO:tasks.rgw_multisite_tests:Ran 56 tests in 3087.636s
2026-04-16T16:57:45.327 INFO:tasks.rgw_multisite_tests:
2026-04-16T16:57:45.328 INFO:tasks.rgw_multisite_tests:FAILED (SKIP=2, failures=1)

Only 1 test (test_copy_object_different_bucket) failed and it's a known test: https://tracker.ceph.com/issues/75716.

Although above test passed in the re-run, 2 other tests failed:

...
2026-04-20T18:49:10.931 INFO:tasks.rgw_multisite_tests:rgw_multi.tests.test_copy_object_different_bucket ... ok
...
2026-04-20T19:03:08.713 INFO:tasks.rgw_multisite_tests:======================================================================
2026-04-20T19:03:08.713 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_log_trim_after_delete_bucket_secondary_reshard
...
2026-04-20T19:03:08.714 INFO:tasks.rgw_multisite_tests:    assert check_bucket_instance_metadata(zone.zone, test_bucket.name)
2026-04-20T19:03:08.714 INFO:tasks.rgw_multisite_tests:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-20T19:03:08.714 INFO:tasks.rgw_multisite_tests:AssertionError

INFO:tasks.rgw_multisite_tests:======================================================================
2026-04-20T19:03:08.714 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_same_bucket
...
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a919b53ee048cfa1eaf32bbb0300494bd0031f68/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 16
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:
2026-04-20T19:03:08.715 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-04-20T19:03:08.716 INFO:tasks.rgw_multisite_tests:Ran 56 tests in 2898.866s
2026-04-20T19:03:08.716 INFO:tasks.rgw_multisite_tests:
2026-04-20T19:03:08.716 INFO:tasks.rgw_multisite_tests:FAILED (SKIP=2, failures=2)

They are also known/flaky issues tracked at

rgw/notifications

1 of the 5 notifications suites show FAILED.

(failed the same way in re-run) rgw/notifications -> test_kafka: actually tests passed and again clean up issue so can be ignored I think for the purposes of evaluating this PR:

2026-04-16T17:08:40.985  ================= 2 passed, 79 deselected in 90.91s ==================
..
2026-04-16T17:10:13.986  rmdir: failed to remove '/home/ubuntu/cephtest': Directory not empty

Conclusion

I believe these 2 failures not directly relevant to this PR.
@cbodley - would you mind taking a look at the test results real quick? I believe this is ready-to-merge.

@BBoozmen BBoozmen added TESTED and removed wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh labels Apr 20, 2026
@cbodley
cbodley merged commit c106e92 into main Apr 20, 2026
17 checks passed
@cbodley
cbodley deleted the wip-oozmen-75831 branch April 20, 2026 20:04
@cbodley

cbodley commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

I believe these 2 failures not directly relevant to this PR.
@cbodley - would you mind taking a look at the test results real quick? I believe this is ready-to-merge.

thanks @BBoozmen - you can also ask for reviews of qa results in the #rgw-qa slack channel

@BBoozmen

Copy link
Copy Markdown
Contributor Author

you can also ask for reviews of qa results in the #rgw-qa slack channel

Ahh, nice! Just joined the channel.

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.

2 participants