Bug 2107405

Summary: [RHCS 5.3] removing snapshots created in nautilus after upgrading to pacific leaves clones around
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: RADOSAssignee: Matan Breizman <mbreizma>
Status: CLOSED ERRATA QA Contact: skanta
Severity: high Docs Contact: Akash Raj <akraj>
Priority: high    
Version: 5.2CC: akraj, akupczyk, amathuri, anarnold, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, kdreyer, ksirivad, lflores, mbreizma, nojha, pdhange, pdhiran, rfriedma, rzarzyns, skanta, sseshasa, vumrao
Target Milestone: ---   
Target Release: 5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-24.el8cp Doc Type: Bug Fix
Doc Text:
.Users can remove cloned objects after upgrading a cluster Previously, after upgrading a cluster from {storage-product} 4 to {storage-product} 5 , removing snapshots of objects created in earlier versions would leave clones, which could not be removed. This was because the `SnapMapper` key’s were wrongly converted. With this fix, `SnapMapper`’s legacy conversation is updated to match the new key format. The cloned objects in earlier versions of Ceph can now be easily removed after an upgrade.
Story Points: ---
Clone Of: 2107404 Environment:
Last Closed: 2023-01-11 17:39:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2107404    
Bug Blocks: 2126049    

Description Vikhyat Umrao 2022-07-14 22:44:24 UTC
+++ This bug was initially created as a clone of Bug #2107404 +++

Description of problem:
[RHCS 5.3] removing snapshots created in nautilus after upgrading to pacific leaves clones around

Version-Release number of selected component (if applicable):

Upstream octopus
Upstream pacific / Downstream RHCS 5.0 and above
Upstream quincy / Downstream RHCS 6.0

How reproducible:

Upstream users
Reproduced in unit test cases - https://gist.github.com/Matan-B/9913f9bf413f7805d7a52dac22a589c1

Upstream trackers:

https://tracker.ceph.com/issues/56147
main branch PR - https://github.com/ceph/ceph/pull/46908

Comment 42 errata-xmlrpc 2023-01-11 17:39:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:0076