Bug 1857827 - mgr/volumes: Remove 'protect' and 'unprotect' requirements to clone a subvolume snapshot
Summary: mgr/volumes: Remove 'protect' and 'unprotect' requirements to clone a subvolu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 4.1
Hardware: All
OS: All
medium
high
Target Milestone: z2
: 4.1
Assignee: Shyamsundar
QA Contact: Hemanth Kumar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-16 16:01 UTC by Shyamsundar
Modified: 2020-09-30 17:26 UTC (History)
6 users (show)

Fixed In Version: ceph-14.2.8-94.el8cp, ceph-14.2.8-94.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1858826 (view as bug list)
Environment:
Last Closed: 2020-09-30 17:26:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 46527 0 None None None 2020-07-23 17:52:44 UTC
Red Hat Product Errata RHBA-2020:4144 0 None None None 2020-09-30 17:26:51 UTC

Description Shyamsundar 2020-07-16 16:01:22 UTC
Subvolume snapshots required to be protected, prior to cloning the same.

Also, protected snapshots were not allowed to be unprotected or removed, if there were in-flight clones, whose source was the snapshot being removed.

The protection of snapshots explicitly is not required, as these can be prevented from being removed based only on the in-flight clones checks.

These calls should hence be deprecated, and this allows a clone to be a simpler implementation for consumers like ceph-csi.

In addition to deprecating the above, add support to query a subvolume for supported features, via the subvolume info command, to assist with a Ceph version based  decision on when to use these calls prior to cloning the subvolume.

Comment 1 RHEL Program Management 2020-07-16 16:01:29 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 16 errata-xmlrpc 2020-09-30 17:26:28 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 (Red Hat Ceph Storage 4.1 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/RHBA-2020:4144


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