]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: make orchestrator_cli be always-on
authorJeff Layton <jlayton@redhat.com>
Thu, 7 Feb 2019 18:39:59 +0000 (13:39 -0500)
committerJeff Layton <jlayton@redhat.com>
Tue, 12 Feb 2019 13:08:18 +0000 (08:08 -0500)
The volumes module has at least a loose dependency on the orchestrator,
and thus also relies on the orchestrator_cli module for the backend
setting. Since the volumes module is always-on, do the same with the
orchestrator_cli module.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
doc/mgr/ansible.rst
doc/mgr/orchestrator_cli.rst
src/mon/MgrMonitor.cc

index e92c22b6365e6214c4a05a8b3375333dee206351..e81e67baf306520b1b80e9ebfb37f3234fd0dc7f 100644 (file)
@@ -34,7 +34,6 @@ Enable the Ansible orchestrator module and use it with the :ref:`CLI <orchestrat
 
 ::
 
-    ceph mgr module enable orchestrator_cli
     ceph mgr module enable ansible
     ceph orchestrator set backend ansible
 
index b446f6cbd30e6555639fc5c6ac51adae376160bd..b85b8c590c5d09c30d3d75c7f13f7fc9651fa1cd 100644 (file)
@@ -55,7 +55,6 @@ You can select the orchestrator module to use with the ``set backend`` command::
 
 For example, to enable the Rook orchestrator module and use it with the CLI::
 
-    ceph mgr module enable orchestrator_cli
     ceph mgr module enable rook
     ceph orchestrator set backend rook
 
index 5f2402fb08d821f0d6fd7e06658e6eb926b7aa98..41729c9fab1d0e3d9aef0105d1b0900b774f7a7c 100644 (file)
@@ -47,6 +47,7 @@ const static std::map<uint32_t, std::set<std::string>> always_on_modules = {
       "progress",
       "balancer",
       "devicehealth",
+      "orchestrator_cli",
       "volumes",
     }
   }