]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: allow disabling always-on MGR modules
authorRishabh Dave <ridave@redhat.com>
Thu, 18 Jul 2024 19:38:07 +0000 (01:08 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 19 Oct 2024 11:25:59 +0000 (16:55 +0530)
commit9962772358048a98a6e871dccf1bfd0a15b4d791
tree10ab266b20b937b9b01fc0f60f741e3fee7d8489
parent4374ac74d283ce1c50616330a0127a53623d96c3
mon/MgrMonitor: allow disabling always-on MGR modules

Add a new command ("ceph mgr module force disable <module>") that allows
forcibly disabling an always-on module. This command should ideally only
be used to for cluster recovery.

Fixes: https://tracker.ceph.com/issues/66005
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mgr/PyModuleRegistry.cc
src/mon/MgrMap.h
src/mon/MgrMonitor.cc
src/mon/MonCommands.h