[Bug 1848950] [NEW] pg not [deep] scrubbed since 0.000000 -- w/fix
Harry Coin
hgcoin at gmail.com
Sun Oct 20 18:48:35 UTC 2019
Public bug reported:
Would ubuntu include the nautilus patch
https://github.com/ceph/ceph/pull/28869 ?
Right now the ceph dashboard won't report 'normal'/'green' because of the bug/hack of resetting scrub timestamps to 0 when auto-repair is set. The above patch, accepted in May by Ceph, fixes that.
Fixes: http://tracker.ceph.com/issues/40073
>From upstream..
osd: Fix the way that auto repair triggers after regular scrub
We used a trick to get auto repair to happen after scrub errors
which reset the scrub/deep-scrub stamps. This not only
looks bad to the user, but causes health warnings. Instead
use a new scrubber flag need_auto which causes reg_next_srub()
to set deadline for immediate scrubbing. It also causes time_for_deep
to be set so that auto repair triggers.
Every regular scrub was triggering a deep scrub. Check
scrubber.authoritative.size() (scrub error count), so regular scrub doesn't
trigger deep-scrub when there are no errors.
Caused by: 2202e5d
** Affects: ceph (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1848950
Title:
pg not [deep] scrubbed since 0.000000 -- w/fix
Status in ceph package in Ubuntu:
New
Bug description:
Would ubuntu include the nautilus patch
https://github.com/ceph/ceph/pull/28869 ?
Right now the ceph dashboard won't report 'normal'/'green' because of the bug/hack of resetting scrub timestamps to 0 when auto-repair is set. The above patch, accepted in May by Ceph, fixes that.
Fixes: http://tracker.ceph.com/issues/40073
From upstream..
osd: Fix the way that auto repair triggers after regular scrub
We used a trick to get auto repair to happen after scrub errors
which reset the scrub/deep-scrub stamps. This not only
looks bad to the user, but causes health warnings. Instead
use a new scrubber flag need_auto which causes reg_next_srub()
to set deadline for immediate scrubbing. It also causes time_for_deep
to be set so that auto repair triggers.
Every regular scrub was triggering a deep scrub. Check
scrubber.authoritative.size() (scrub error count), so regular scrub doesn't
trigger deep-scrub when there are no errors.
Caused by: 2202e5d
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1848950/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list