From: Paul Cuzner Date: Tue, 16 Feb 2021 23:43:02 +0000 (+1300) Subject: mgr/cephadm:add module option to enable configuration checks X-Git-Tag: v16.2.0~106^2~89 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b1bf9fde736bfa1aa6d911da4e0de82c5407185e;p=ceph.git mgr/cephadm:add module option to enable configuration checks Adds config_checks_enabled (bool) option Signed-off-by: Paul Cuzner (cherry picked from commit fae0adf4f07d8af0d3cb0b9d0eb4c3da14a2cf78) --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 0aa487d8edf5..f38171c17f92 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -303,6 +303,12 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule, default=True, desc='Automatically convert image tags to image digest. Make sure all daemons use the same image', ), + Option( + 'config_checks_enabled', + type='bool', + default=False, + desc='Enable or disable the cephadm configuration analysis', + ), ] def __init__(self, *args: Any, **kwargs: Any):