Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: mgr/snap_schedule: add support for monthly snapshots #55209

Closed
wants to merge 4 commits into from

Conversation

mchangir
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/62843


backport of #53070
parent tracker: https://tracker.ceph.com/issues/62494

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

Problem:
As per the issue tracker, the period spec specifier 'M' is not
consistent with what is used elsewhere, like the period specifiers
displayed in the 'ceph status' command output.
The 'M' period specifier is used as a 'minute' level period specifier by
the cephfs team.
The issue reporter suggests to use 'M' as a 'month' period specifier.

Solution:
Since the 'minute' level period specifer, 'M', is used internally by
the development team, it is failrly easy to swap the 'minute' ('M')
level and 'month' ('m') level period specifers to finally mean that 'm'
implies 'minute' level period and 'M' implies 'month' level period.
Also, since this is the first time that somebody has ever reported that
neither the 'M' nor the 'm' level specifiers work in production, it is a
good idea to fix them once and for all.

Fixes: https://tracker.ceph.com/issues/62494
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 2f6d87d)

Conflicts:
	src/pybind/mgr/snap_schedule/fs/schedule.py
	src/pybind/mgr/snap_schedule/fs/schedule_client.py
	- resolved conflicts due to pacific branch lag with main branch
Fixes: https://tracker.ceph.com/issues/62494
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit e7218e0)
Fixes: https://tracker.ceph.com/issues/62494
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 7431b81)
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 7e2546f)
@mchangir mchangir requested a review from a team as a code owner January 17, 2024 08:38
@mchangir mchangir added this to the pacific milestone Jan 17, 2024
@mchangir mchangir added the core label Jan 17, 2024
@vshankar
Copy link
Contributor

Not required for last pacific

@vshankar vshankar closed this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants