pg not [deep] scrubbed since 0.000000 -- w/fix

Bug #1848950 reported by Harry Coin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Won't Fix
Undecided
Unassigned
Bionic
Won't Fix
Undecided
Unassigned
Eoan
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

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

Revision history for this message
Dan Hill (hillpd) wrote :

pr#28869 fixed upstream in 14.2.3. This version is in the eoan-updates and focal pockets.

For UCA, both train-proposed and ussuri-proposed have this fixed, but these have not yet landed:
 ceph | 14.2.2-0ubuntu3~cloud0 | train | bionic-updates | source
 ceph | 14.2.4-0ubuntu0.19.10.1~cloud0 | train-proposed | bionic-proposed | source
 ceph | 14.2.2-0ubuntu3~cloud0 | ussuri | bionic-updates | source
 ceph | 14.2.5-3ubuntu4~cloud0 | ussuri-proposed | bionic-proposed | source

Changed in ceph (Ubuntu Xenial):
status: New → Won't Fix
Changed in ceph (Ubuntu Bionic):
status: New → Won't Fix
Changed in ceph (Ubuntu Eoan):
status: New → Fix Released
Changed in ceph (Ubuntu Focal):
status: New → Fix Released
Revision history for this message
Harry Coin (hcoin) wrote : Re: [Bug 1848950] Re: pg not [deep] scrubbed since 0.000000 -- w/fix

Thanks Dan!

On 2/13/20 1:24 PM, Dan Hill wrote:
> pr#28869 fixed upstream in 14.2.3. This version is in the eoan-updates
> and focal pockets.
>
> For UCA, both train-proposed and ussuri-proposed have this fixed, but these have not yet landed:
> ceph | 14.2.2-0ubuntu3~cloud0 | train | bionic-updates | source
> ceph | 14.2.4-0ubuntu0.19.10.1~cloud0 | train-proposed | bionic-proposed | source
> ceph | 14.2.2-0ubuntu3~cloud0 | ussuri | bionic-updates | source
> ceph | 14.2.5-3ubuntu4~cloud0 | ussuri-proposed | bionic-proposed | source
>
>
> ** Also affects: ceph (Ubuntu Focal)
> Importance: Undecided
> Status: New
>
> ** Also affects: ceph (Ubuntu Xenial)
> Importance: Undecided
> Status: New
>
> ** Also affects: ceph (Ubuntu Bionic)
> Importance: Undecided
> Status: New
>
> ** Also affects: ceph (Ubuntu Eoan)
> Importance: Undecided
> Status: New
>
> ** Changed in: ceph (Ubuntu Xenial)
> Status: New => Won't Fix
>
> ** Changed in: ceph (Ubuntu Bionic)
> Status: New => Won't Fix
>
> ** Changed in: ceph (Ubuntu Eoan)
> Status: New => Fix Released
>
> ** Changed in: ceph (Ubuntu Focal)
> Status: New => Fix Released
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.