]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: enable `status` module by default
authorJohn Spray <john.spray@redhat.com>
Tue, 27 Jun 2017 10:52:17 +0000 (06:52 -0400)
committerJohn Spray <john.spray@redhat.com>
Tue, 27 Jun 2017 10:53:33 +0000 (06:53 -0400)
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 <john.spray@redhat.com>
PendingReleaseNotes
src/common/config_opts.h

index 7f57cc52a149b92b7bbb0eacd78362e14cd845f7..aae3e6b968e1ea18eb70e5d642ca558f272c94c3 100644 (file)
   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.
index 3c1305c0ba0a2888b2e9c9dea59ab9eae80696af..5be32e443973ac6c61de90059b95bc9cd9570be2 100644 (file)
@@ -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