]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: disable skewed utilization warning by default 17210/head
authorDavid Zafman <dzafman@redhat.com>
Wed, 23 Aug 2017 22:31:50 +0000 (15:31 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 24 Aug 2017 17:24:08 +0000 (10:24 -0700)
This has a few problems:

1- It does not do it's analysis over CRUSH rule roots/classes, which
means that an innocent user of classes will see skewed usage (bc hdds are
more full than ssds, say)

2- It does not take degraded clusters into account, which means the warning
will appear when a fresh OSD is added.

See http://tracker.ceph.com/issues/20730

Based on master commit 7832c53 but we've decided not to remove the code
in the older releases so it can be used if appropriate for a
particular cluster configuration.  Also, 7832c53 won't cleanly
cherry-pick so this is easier.

Signed-off-by: David Zafman <dzafman@redhat.com>
PendingReleaseNotes
src/common/config_opts.h

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..322d8b5e6395f6dc00e4524012b08f7f790fd6c5 100644 (file)
@@ -0,0 +1,3 @@
+* The 'mon_warn_osd_usage_min_max_delta' health warning has been disabled because
+  it does not address clusters undergoing recovery or CRUSH rules that do
+  not target all devices in the cluster.
index 68f2ebe1f00bf9d402c53cd3eed40e2c43d093db..b8ea128dc671599bc1bc5ac45798ad67be5dd1e1 100644 (file)
@@ -273,8 +273,7 @@ OPTION(mon_crush_min_required_version, OPT_STR, "firefly")
 OPTION(mon_warn_on_crush_straw_calc_version_zero, OPT_BOOL, true) // warn if crush straw_calc_version==0
 OPTION(mon_warn_on_osd_down_out_interval_zero, OPT_BOOL, true) // warn if 'mon_osd_down_out_interval == 0'
 OPTION(mon_warn_on_cache_pools_without_hit_sets, OPT_BOOL, true)
-OPTION(mon_warn_osd_usage_percent, OPT_FLOAT, .40) // warn if difference in usage percent between OSDs exceeds specified percent
-OPTION(mon_warn_osd_usage_min_max_delta, OPT_FLOAT, .40) // warn if difference between min and max OSD utilizations exceeds specified amount
+OPTION(mon_warn_osd_usage_min_max_delta, OPT_FLOAT, 0) // warn if difference between min and max OSD utilizations exceeds specified amount
 OPTION(mon_min_osdmap_epochs, OPT_INT, 500)
 OPTION(mon_max_pgmap_epochs, OPT_INT, 500)
 OPTION(mon_max_log_epochs, OPT_INT, 500)