]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: create always_on class of modules 23106/head
authorNoah Watkins <nwatkins@redhat.com>
Tue, 17 Jul 2018 05:24:48 +0000 (22:24 -0700)
committerNoah Watkins <nwatkins@redhat.com>
Tue, 24 Jul 2018 15:41:46 +0000 (08:41 -0700)
commitcf292dfa8f9254e5095689c45a3d5e895e5df333
tree40fb85e996f8c552715fb790c1a6f0ffb16afb07
parent6a8b5d8425cc8dd2923705dbc94974ecfa8dac31
mgr: create always_on class of modules

support an 'always on' class of ceph-mgr modules. the purpose of an
always-on module is to behave as built-in / non-optional functionality.
this is accomplished by treating always-on modules as enabled
irregardless of the enabled set produced by the manager monitor.
always-on modules that fail to load are reported as health errors.

always-on modules are intended to satisfy important dependencies in a
cluster. as such, the set of always-on modules is specified statically,
as opposed to a property on the Python class, to enable robust error
reporting of always on modules that fail to load.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
src/mgr/MgrStandby.cc
src/mgr/PyModule.h
src/mgr/PyModuleRegistry.cc
src/mgr/mgr_commands.cc
src/mgr/mgr_commands.h