From 5754906c3bd15a63855b8265a3ac93ae2a1a3c8c Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Thu, 27 Mar 2025 22:24:13 +1000 Subject: [PATCH] src/common: add guidance for mon_warn_pg_not_scrubbed Add an explanation of how to set the value of "mon_warn_pg_not_scrubbed_ratio" to the confval definition of that variable. Although this variable contains the string "mon", it is set on the Manager. I have added a note to direct users to set this value on the Manager. This issue was pointed out by Petr Tlapa on Slack in late March of 2025. This issue is part of a small project that also encompasses https://github.com/ceph/ceph/pull/62459, which is associated with commit aeef59a50ee31072648ba0c7436b6522137614cd Co-authored-by: Anthony D'Atri Signed-off-by: Zac Dover --- src/common/options/global.yaml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 6ea4a32bd5450..e44838fc00c6b 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -1810,7 +1810,7 @@ options: - name: mon_warn_pg_not_scrubbed_ratio type: float level: advanced - desc: Percentage of the scrub max interval past the scrub max interval to warn + desc: Raise a health warning when shallow scrubs are delayed by this percentage of the shallow scrub interval. Note that this must be set at mgr or with global scope. Set this configurable with the command "ceph config set mgr mon_warn_pg_not_scrubbed_ratio ". default: 0.5 see_also: - osd_scrub_max_interval -- 2.39.5