]> git.apps.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)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:17 +0000 (07:56 -0500)
Adds config_checks_enabled (bool) option

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit fae0adf4f07d8af0d3cb0b9d0eb4c3da14a2cf78)

src/pybind/mgr/cephadm/module.py

index 0aa487d8edf5f04385569a10ff8240ae41db9d51..f38171c17f9243d201e63f55c496ded0f5fa751b 100644 (file)
@@ -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):