Bug #47590
osd do not respect scrub schedule
0%
Description
Since update to Nautilus (14.2.4 -> 14.2.10) scrub schedules stopped working, I used to have them in config file, but for some reasons newer version of ceph doesn't seem to process it (/etc/ceph/ceph.conf) and uses config that can be edited via dashboard.
I changed the values in dashboard to:
osd_scrub_begin_hour
Restrict scrubbing to this hour of the day or later
global: 1
osd_scrub_begin_week_day
Restrict scrubbing to this day of the week or later
osd: 0
osd_scrub_during_recovery
Allow scrubbing when PGs on the OSD are undergoing recovery
osd: false
osd_scrub_end_hour
Restrict scrubbing to hours of the day earlier than this
global: 6
osd_scrub_end_week_day
Restrict scrubbing to days of the week earlier than this
osd: 7
but ceph still starts scrubbing every day at 22, is there any way to track down why is that?
History
#1 Updated by Neha Ojha over 3 years ago
- Status changed from New to Need More Info
Can you provide the output of "ceph config dump"?
#2 Updated by Petr Bena over 3 years ago
Neha Ojha wrote:
Can you provide the output of "ceph config dump"?
WHO MASK LEVEL OPTION VALUE RO
global advanced osd_deep_scrub_interval 2419200.000000
global advanced osd_scrub_begin_hour 1
global advanced osd_scrub_end_hour 6
global advanced osd_scrub_max_interval 1209600.000000
mgr advanced mgr/dashboard/GRAFANA_API_URL http://192.168.2.3:3000 *
mgr advanced mgr/dashboard/ISCSI_API_SSL_VERIFICATION False *
osd advanced osd_deep_scrub_interval 2419200.000000
osd advanced osd_scrub_begin_week_day 0
osd advanced osd_scrub_during_recovery false
osd advanced osd_scrub_end_week_day 7
osd advanced osd_scrub_priority 1
osd advanced osd_scrub_sleep 120.000000
it seems that after restart of all OSD it started working, I didn't know restart of OSD is necessary, I thought this can be changed online