From b1bf9fde736bfa1aa6d911da4e0de82c5407185e Mon Sep 17 00:00:00 2001 From: Paul Cuzner Date: Wed, 17 Feb 2021 12:43:02 +1300 Subject: [PATCH] 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) --- src/pybind/mgr/cephadm/module.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 0aa487d8edf..f38171c17f9 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): -- 2.47.3