Bug 2168541 - mon: prevent allocating snapids allocated for CephFS
Summary: mon: prevent allocating snapids allocated for CephFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1
Assignee: Milind Changire
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2023-02-09 11:09 UTC by Milind Changire
Modified: 2023-10-14 04:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
.Pool-level snaps for pools attached to a Ceph File System are disabled Previously, the pool-level snaps and mon-managed snaps had their own snap ID namespace and this caused a clash between the IDs, and the Ceph Monitor was unable to uniquely identify a snap as to whether it is a pool-level snap or a mon-managed snap. Due to this, there were chances for the wrong snap to get deleted when referring to an ID, which is present in the set of pool-level snaps and mon-managed snaps. With this fix, the pool-level snaps for the pools attached to a Ceph File System are disabled and no clash of pool IDs occurs. Hence, no unintentional data loss happens when a CephFS snap is removed.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:16:51 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6119 0 None None None 2023-02-09 11:09:25 UTC

Description Milind Changire 2023-02-09 11:09:07 UTC
Description of problem:
The MDS allocates its own snapids. In general, the monitor allocates self-managed snapids for librados users.

We need to prevent this colliding. Probably by disabling monitor snapid allocation on pools in the FSMap.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 19 Milind Changire 2023-05-16 07:36:19 UTC
@akraj Please replace "mon-manged snaps" with "fs-level snaps" in the DocText

Comment 21 errata-xmlrpc 2023-06-15 09:16:51 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 6.1 security and 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-2023:3623

Comment 22 Red Hat Bugzilla 2023-10-14 04:25:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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