From: John Spray Date: Tue, 27 Jun 2017 10:52:17 +0000 (-0400) Subject: common: enable `status` module by default X-Git-Tag: ses5-milestone8~1^2~17^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ec09fc2f52aaee13d0c4a52d8f96d4b1219e0e82;p=ceph.git common: enable `status` module by default It's still sort of awkward to prefix these commands with "mgr tell" but this makes them at least somewhat accessible to the average user. Signed-off-by: John Spray --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 7f57cc52a149..aae3e6b968e1 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -182,3 +182,7 @@ replicated rule in the CRUSH map for replicated pools. Erasure coded pools have rules that are automatically created for them if they are not specified at pool creation time. + +* The `status` ceph-mgr module is enabled by default, and initially provides two + commands: `ceph tell mgr osd status` and `ceph tell mgr fs status`. These + are high level colorized views to complement the existing CLI. diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 3c1305c0ba0a..5be32e443973 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -1727,7 +1727,7 @@ OPTION(rgw_shard_warning_threshold, OPT_DOUBLE, 90) // pct of safe max OPTION(rgw_swift_versioning_enabled, OPT_BOOL, false) // whether swift object versioning feature is enabled OPTION(mgr_module_path, OPT_STR, CEPH_PKGLIBDIR "/mgr") // where to load python modules from -OPTION(mgr_modules, OPT_STR, "restful") // Which modules to load +OPTION(mgr_modules, OPT_STR, "restful status") // Which modules to load OPTION(mgr_data, OPT_STR, "/var/lib/ceph/mgr/$cluster-$id") // where to find keyring etc OPTION(mgr_tick_period, OPT_INT, 2) // How frequently to tick OPTION(mgr_stats_period, OPT_INT, 5) // How frequently clients send stats