Bug 2238537

Summary: [RFE][cee/sd] mgr/snap_schedule: Add capability to schedule cephfs snapshot for subvolumes and non-default groups
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: CephFSAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: sumr
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.2CC: akraj, ceph-eng-bugs, cephqe-warriors, lithomas, mchangir, ngangadh, tserlin, vshankar
Target Milestone: ---Keywords: FutureFeature
Target Release: 7.1   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: ceph-18.2.1-35.el9cp Doc Type: Enhancement
Doc Text:
.Snapshot scheduling support for subvolumes With this enhancement, snapshot scheduling support is provided for subvolumes. All snapshot scheduling commands accept `--subvol` and `--group` arguments to refer to appropriate subvolumes and subvolume groups. If a subvolume is specified without a subvolume group argument, then the default subvolume group is considered. Also, a valid path need not be specified when referring to subvolumes and just a placeholder string is sufficient due to the nature of argument parsing employed. Example ---- # ceph fs snap-schedule add - 15m --subvol sv1 --group g1 # ceph fs snap-schedule status - --subvol sv1 --group g1 ----
Story Points: ---
Clone Of:
: 2243783 (view as bug list) Environment:
Last Closed: 2024-06-13 14:21:24 UTC Type: Bug
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:    
Bug Blocks: 2243783, 2267614, 2298578, 2298579    

Description Geo Jose 2023-09-12 10:46:42 UTC
Description of problem:
======================
Scheduling snapshots for the subvolume is not working

Version-Release number of selected component (if applicable):
============================================================
ceph version 17.2.6-100.el9cp

How reproducible:
================

Steps to Reproduce:

1. Install RHCS 6
2. Deploy a Ceph File System
3. Enable the snap_schedule module
4. Create a snap-schedule.
5. Activate the new schedule.
6. Check status

Follow the document: 
 - https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/6/html-single/file_system_guide/index#ceph-file-system-snapshot-scheduling

Actual results:
==============
- snapshot-scheduling is not working.


Expected results:
- snapshot scheduling should work without any issues.

Comment 24 errata-xmlrpc 2024-06-13 14:21:24 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, 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-2024:3925