Bug 2081596

Summary: [GSS][OCS 4.7.1][Clone operations stuck in 'pending']
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kotresh HR <khiremat>
Component: CephFSAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.2CC: agunn, akraj, asriram, assingh, bniver, ceph-eng-bugs, hchiramm, khiremat, madam, mhackett, mhull, mrajanna, muagarwa, nravinas, ocs-bugs, pasik, pdonnell, rar, sweil, tserlin, vereddy, ygupta, ymane, ypadia
Target Milestone: ---   
Target Release: 5.2   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.8-2.el8cp Doc Type: Bug Fix
Doc Text:
.Deleting a subvolume clone is no longer allowed for certain clone states Previously, if you tried to remove a subvolume clone with the force option when the clone was not in a `COMPLETED` or `CANCELLED` state, the clone was not removed from the index tracking the ongoing clones. This caused the corresponding cloner thread to retry the cloning indefinitely, eventually resulting in an `ENOENT` failure. With the default number of cloner threads set to four, attempts to delete four clones resulted in all four threads entering a blocked state allowing none of the pending clones to complete. With this release, unless a clone is either in a `COMPLETED` or `CANCELLED` state, it is not removed. The cloner threads no longer block because the clones are deleted, along with their entry from the index tracking the ongoing clones. As a result, pending clones continue to complete as expected.
Story Points: ---
Clone Of: 1980920 Environment:
Last Closed: 2022-08-09 17:38:23 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: 1980920    
Bug Blocks: 1959686, 2081593, 2102272    

Comment 11 errata-xmlrpc 2022-08-09 17:38:23 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 Security, Bug Fix, and Enhancement 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:5997