Bug 2052027 - cephfs: rados omap leak after deletesnapshot
Summary: cephfs: rados omap leak after deletesnapshot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: csi-driver
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.10.0
Assignee: Madhu Rajanna
QA Contact: Yuli Persky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-08 14:27 UTC by Madhu Rajanna
Modified: 2023-08-09 16:37 UTC (History)
4 users (show)

Fixed In Version: 4.10.0-151
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-13 18:53:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-csi pull 2844 0 None open cephfs: fix omap deletion in DeleteSnapshot 2022-02-08 14:29:09 UTC
Github red-hat-storage ceph-csi pull 77 0 None open BUG 2052027: fix omap deletion in DeleteSnapshot 2022-02-09 07:46:56 UTC
Red Hat Product Errata RHSA-2022:1372 0 None None None 2022-04-13 18:53:18 UTC

Comment 7 Yuli Persky 2022-03-15 12:59:15 UTC
@Madhu, 

Can you please provide instructions how to verify this BZ ? 

what log ( please provide name or example of a name) should I check after the snapshot is deleted and what record should I see there /or should not ?

Comment 9 Yuli Persky 2022-03-16 10:24:34 UTC
The BZ was verified on ____4.10.0-189 ___

1) I've created number of cephfs snapshots

2) later on logged in to the tollbox pod and run the following command: 

rados listomapkeys csi.snaps.default --pool=ocs-storagecluster-cephfilesystem-metadata --namespace=csi

result: got an output of snapshot identifiers. 

3) Deleted one of the snapshots ( with the identifier that was listed in the poreveioous step output) 

result: rados listomapkeys csi.snaps.default --pool=ocs-storagecluster-cephfilesystem-metadata --namespace=csi output does NOT show the deleted snapshot identifier. 

==> The fix was successfully verified.

Comment 11 errata-xmlrpc 2022-04-13 18:53:05 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 (Important: Red Hat OpenShift Data Foundation 4.10.0 enhancement, security & bug fix update), 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-2022:1372


Note You need to log in before you can comment on or make changes to this bug.