]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm:add module option to enable configuration checks
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 16 Feb 2021 23:43:02 +0000 (12:43 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 1 Mar 2021 22:58:19 +0000 (11:58 +1300)
Adds config_checks_enabled (bool) option

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/module.py

index afd9314dead8ca0af4d7492ce2beaa298bffb2b6..dbffe94c3e2c10456194c3b2248837f2e2aa102f 100644 (file)
@@ -315,6 +315,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):