Bug #41054
open
disable "pgs not deep-scrubbed in time" message
Added by hoan nv almost 5 years ago.
Updated 12 months ago.
Description
Hi all.
I has 2 ceph cluster run on 14.2.2 versions, all osds have options
osd_deep_scrub_stride = 1048576
osd_deep_scrub_interval = 2592000
osd_scrub_min_interval = 604800
osd_scrub_max_interval = 1209600
ceph health
health: HEALTH_WARN
9757 pgs not deep-scrubbed in time
I added two options and restart all ceph-mon
mon_warn_pg_not_deep_scrubbed_ratio = 0
mon_warn_pg_not_scrubbed_ratio = 0
But message still exist.
I think the options mon_warn_pg_not_deep_scrubbed_ratio = 0 will remove this message but not.
How i can disable this message.
Thanks
Exatctly same experience here.
@hoan nv
have you tried newer version of Ceph to see if this still exists?
Sten Aus wrote:
@hoan nv
have you tried newer version of Ceph to see if this still exists?
I have config on ceph mon
mon_warn_pg_not_deep_scrubbed_ratio = 0
mon_warn_pg_not_scrubbed_ratio = 0
then i restart ceph mon this message gone. it works.
I've added this to config file and tried using injectargs on both commands
ceph tell 'mon.*' injectargs '--mon_warn_pg_not_deep_scrubbed_ratio 0'
ceph tell 'mon.*' injectargs '--mon_warn_pg_not_scrubbed_ratio 0'
and restarted monitor service, but that did not help.
Nor did it help after I've edited this to a greater timeperiod.
I was able to get a workaround with
ceph osd pool set <poolname> deep_scrub_interval 2592000
ceph osd pool set <poolname> scrub_min_interval 604800
ceph osd pool set <poolname> scrub_max_interval 1209600
Sten Aus, try to set it on the mgrs:
ceph config set mgr mon_warn_pg_not_deep_scrubbed_ratio 0
ceph config set mgr mon_warn_pg_not_scrubbed_ratio 0
in the config file use global or mgr section.
if update the config, need to restart the mgr instance? and other question is, when running "ceph config", how to know set the params to mon or osd or mgr?
can zhu wrote:
if update the config, need to restart the mgr instance? and other question is, when running "ceph config", how to know set the params to mon or osd or mgr?
No, don't need restart mgr.
You can see prefix of param,
Eg : mon_warn_pg_not_deep_scrubbed_ratio is param to mon
if not mon,mgr,osd,rgw it is a global param
after add "mon_warn_pg_not_deep_scrubbed_ratio" to the ceph.conf, not active; but update "mon_warn_pg_not_deep_scrubbed_ratio" trought the 'ceph config' cmd, it's active.
can zhu wrote:
after add "mon_warn_pg_not_deep_scrubbed_ratio" to the ceph.conf, not active; but update "mon_warn_pg_not_deep_scrubbed_ratio" trought the 'ceph config' cmd, it's active.
after add this config to ceph.conf, you must restart ceph mon to apply config.
Also available in: Atom
PDF