Bug #56063
closedSnapshot retention config lost after mgr restart
0%
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
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.
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.
Updated by Milind Changire over 1 year ago
- Status changed from Triaged to Closed
Closing after confirmation from Andreas.
Updated by Sebastian Mazza over 1 year ago
I can still reproduce this error in v16.2.9.