From ec09fc2f52aaee13d0c4a52d8f96d4b1219e0e82 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 27 Jun 2017 06:52:17 -0400 Subject: [PATCH] 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 --- PendingReleaseNotes | 4 ++++ src/common/config_opts.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 7f57cc52a14..aae3e6b968e 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 3c1305c0ba0..5be32e44397 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 -- 2.39.5