Repository navigation
umbrella: rgw: radoslist stats the olh of a versioned key starting with '_' - #72691
Conversation
|
This PR has been added to wip-anrao7-testing-2026-11-02-0650-umbrella. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
radoslist built the olh key from the escaped index name, so a key like _v got escaped twice and the real olh was never listed. Parse the index key instead. Signed-off-by: Matthew N. Heler <[email protected]> (cherry picked from commit 4710821)
Put a versioned object whose name starts with an underscore and check that bucket radoslist lists the same oids as rados ls. Signed-off-by: Matthew N. Heler <[email protected]> (cherry picked from commit 7f27c8c) Conflicts: qa/workunits/rgw/test_rgw_versioning.py - umbrella already has the olh replay testcases that follow this one on main; put the new testcase before them, as on main
98d8cb1 to
62adac7
Compare
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #72691 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| a063c66 rgw: radoslist stats the olh of a versioned key starting with '_' | PR #72122 | 4710821 rgw: radoslist stats the olh of a versioned key starting with '_' |
| 62adac7 qa/rgw: compare radoslist with rados ls for a key starting with '_' | 7f27c8c qa/rgw: compare radoslist with rados ls for a key starting with '_' |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 62adac7 (cherry-pick of 7f27c8c)
Affected File(s)
qa/workunits/rgw/test_rgw_versioning.py
Range Diff
Click to expand
--- Original (7f27c8c2)
+++ Backport (62adac79)
@@ -4,3 +4,9 @@
that bucket radoslist lists the same oids as rados ls.
Signed-off-by: Matthew N. Heler <[email protected]>
+(cherry picked from commit 7f27c8c240d75479cea0b4dfb5f1570e7b8ab055)
+
+Conflicts:
+ qa/workunits/rgw/test_rgw_versioning.py
+ - umbrella already has the olh replay testcases that follow this
+ one on main; put the new testcase before them, as on main
================================================================================
RANGE DIFF
================================================================================
1: 7f27c8c240d ! 1: 62adac79de1 qa/rgw: compare radoslist with rados ls for a key starting with '_'
@@ Commit message
that bucket radoslist lists the same oids as rados ls.
Signed-off-by: Matthew N. Heler <[email protected]>
+ (cherry picked from commit 7f27c8c240d75479cea0b4dfb5f1570e7b8ab055)
+
+ Conflicts:
+ qa/workunits/rgw/test_rgw_versioning.py
+ - umbrella already has the olh replay testcases that follow this
+ one on main; put the new testcase before them, as on main
## qa/workunits/rgw/test_rgw_versioning.py ##
@@ qa/workunits/rgw/test_rgw_versioning.py: def main():
@@ qa/workunits/rgw/test_rgw_versioning.py: def main():
+ stored = sorted(line.split('\t')[0] for line in out.decode().splitlines() if key in line)
+ assert listed == stored, f'radoslist {listed} does not match rados objects {stored}'
+
- # Clean up
- log.debug("Deleting bucket {}".format(BUCKET_NAME))
- bucket.object_versions.all().delete()
+ # TESTCASE 'verify that reads recover after a canceled olh replay'
+ log.debug('TEST: verify that reads recover after a canceled olh replay\n')
+ key = 'olh-replay-race'How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/82522 |
|
Needs review @rgw |
|
This PR has been added to umbrella integration testing by pdonnell started 2026-11-21-05:14. |
|
✅ Audit Override Applied by @batrick. |
backport tracker: https://tracker.ceph.com/issues/81739
backport of #72122
parent tracker: https://tracker.ceph.com/issues/80915
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh