Bug 2055173 - [cee/sd][cephFS]Scheduled snapshots are not created after ceph-mgr restart
Summary: [cee/sd][cephFS]Scheduled snapshots are not created after ceph-mgr restart
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.3z1
Assignee: Milind Changire
QA Contact: julpark
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2022-02-16 12:27 UTC by Janmejay Singh
Modified: 2024-09-09 10:05 UTC (History)
18 users (show)

Fixed In Version: ceph-16.2.8-2.el8cp
Doc Type: Bug Fix
Doc Text:
.Disaster recovery automation and planning resumes after `ceph-mgr` restart Previously, schedules would not start during `ceph-mgr` startup which affected the disaster recovery plans of users who presumed that the snapshot schedule would resume at `ceph-mgr` restart time. With this fix, schedules start on `ceph-mgr` restart and the disaster recovery automation and planning, such as snapshot replication, immediately resumes after `ceph-mgr` is restarted, without the need for manual intervention.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:37:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 54052 0 None None None 2022-02-17 05:39:39 UTC
Ceph Project Bug Tracker 56152 0 None None None 2022-06-24 05:14:50 UTC
Red Hat Issue Tracker RHCEPH-3183 0 None None None 2022-02-16 12:28:38 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:38:02 UTC

Description Janmejay Singh 2022-02-16 12:27:16 UTC
Description of problem:
Scheduled snapshots doesn't create after active mgr restarted.Checking snap-schedule status shows the retention being removed automatically. After adding the retention again snapshot gets created. 

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

How reproducible:

Steps to Reproduce:
1.Enable the snap_schedule module.
2.Create a snap-schedule.
3.Add retention to it.
4:Activate the new schedule.
5:Check status and allow it to create one snapshot.
6:Restart active mgr daemon and check snap_schedule status.
 

Actual results:
- Scheduled snapshot should get created even after active mgr restarted.

Expected results:

- Scheduled snapshot doesn't get created after active mgr restarted.

Comment 2 Venky Shankar 2022-02-17 05:39:39 UTC
Milind,

Assigning this to you (and so is the upstream tracker).

Cheers,
Venky

Comment 19 Venky Shankar 2022-06-08 09:38:00 UTC
(In reply to Milind Changire from comment #18)
> (In reply to Venky Shankar from comment #16)
> > (In reply to Steve Baldwin from comment #9)
> > > Hello Team,
> > > 
> > > We have another customer report this issue - Université de Dijon - Bourgogne
> > > - SFDC case 03213740.
> > > 
> > > This customer is on 5.1 / 16.2.7-98
> > > 
> > > Anything we can do to keep the snapshot schedule from getting removed other
> > > than *not* restarting ceph-mgr?
> > 
> > Milind? The schedules could possibly be activated via CLI.
> 
> The schedule seems to be in "active" state in the database output.
> A "deactivate" followed by "activate" should help restart the schedule.

If the schedule is active, why would it need to be reactivated?

Comment 41 errata-xmlrpc 2022-08-09 17:37: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 (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


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