]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/iostat: enable module by default on new and vstart clusters 22034/head
authorMohamad Gebai <mgebai@suse.com>
Tue, 22 May 2018 03:43:30 +0000 (23:43 -0400)
committerMohamad Gebai <mgebai@suse.com>
Tue, 22 May 2018 03:47:15 +0000 (23:47 -0400)
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
src/common/options.cc
src/vstart.sh

index fd4652362ae6cfce6b49d445625d971540f6ecf4..2f7636ee9e6d271bba6a6e8bc90e835420b01fb3 100644 (file)
@@ -4740,7 +4740,7 @@ std::vector<Option> get_global_options() {
     .set_description("Filesystem path to manager modules."),
 
     Option("mgr_initial_modules", Option::TYPE_STR, Option::LEVEL_BASIC)
-    .set_default("restful status balancer")
+    .set_default("restful status balancer iostat")
     .set_flag(Option::FLAG_NO_MON_UPDATE)
     .set_flag(Option::FLAG_CLUSTER_CREATE)
     .add_service("mon")
index d06cf708f17b1e6c760dfae096ca3fe2d49816f2..97d17bbbdd436f5b7c3a19e6c9397b9d2e566b68 100755 (executable)
@@ -434,7 +434,7 @@ prepare_conf() {
         heartbeat file = $CEPH_OUT_DIR/\$name.heartbeat
 "
 
-    local mgr_modules="restful status balancer"
+    local mgr_modules="restful status balancer iostat"
     if $with_mgr_dashboard; then
       mgr_modules="dashboard $mgr_modules"
     fi