Project

General

Profile

Actions

Bug #56063

closed

Snapshot retention config lost after mgr restart

Added by Andreas Teuchert almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/snap_schedule
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In https://tracker.ceph.com/issues/54052 the issue that scheduled snapshots are not longer created after a mgr restart was fixed. The fix is included in 16.2.8. After updating from 16.2.7 to 16.2.9 I noticed that indeed scheduled snapshots are still created after a mgr restart, however the snapshot retention policy is gone.

My snapshot schedule/retention policy is configured as follows:

# ceph mgr module enable snap_schedule
# ceph fs snap-schedule add /projects 1h
Schedule set for path /projects
# ceph fs snap-schedule retention add /projects 24h7d4w3m
Retention added to path /projects
# ceph fs snap-schedule list /projects
/projects 1h 24h7d4w3m

After the update and the corresponding mgr restart the renention policy is gone and snapshots are no longer pruned based on the policy:

# ceph fs snap-schedule list /projects
/projects 1h 
Actions #1

Updated by Venky Shankar almost 2 years ago

  • Category set to Correctness/Safety
  • Status changed from New to Triaged
  • Assignee set to Milind Changire
  • Target version set to v18.0.0
  • Backport set to quincy, pacific

Milind, please take a look.

Actions #2

Updated by Andreas Teuchert over 1 year ago

After updating to 17.2.1 I'm not observing the issue anymore. Now, after failing over the mgr, the retention policy is still there.

Actions #3

Updated by Milind Changire over 1 year ago

  • Status changed from Triaged to Closed

Closing after confirmation from Andreas.

Actions #4

Updated by Sebastian Mazza over 1 year ago

I can still reproduce this error in v16.2.9.

Actions

Also available in: Atom PDF