Project

General

Profile

Actions

Bug #76954

closed
JB BS

No scrub information available after deep scrub due to scrubls pg ops being balanced with rados_replica_read_policy = balanced

Bug #76954: No scrub information available after deep scrub due to scrubls pg ops being balanced with rados_replica_read_policy = balanced

Added by Jonathan Bailey 6 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3876-g1b14e27c8c
Released In:
Upkeep Timestamp:
2026-09-30T22:49:32+00:00

Description

/a/yuriw-2026-05-15_14:18:16-rados-wip-yuri-testing-2026-05-14-1648-distro-default-trial/213373

When running with balanced reads, it's possible for the scrubls pg op to get balanced. This op should not be balanced even when balanced reads is enabled. It should only be sent to the primary of the replica pool, as that's the only place the m_store variable is initialised in scrubbing.

ceph-osd.7.log.gz 2026-05-15T14:38:25.826+0000 7ff07067a640 10 osd.7 pg_epoch: 22 pg[2.5( v 22'536 (0'0,22'536] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/19/0 sis=18) [7,0] r=0 lpr=18 crt=22'536 lcod 22'535 mlcod 22'535 active+clean+scrubbing+deep] scrubber<Session/ActiveScrubbing>: reinit_scrub_store creating new store
ceph-osd.7.log.gz 2026-05-15T14:38:37.697+0000 7ff06fe79640 10 osd.7 pg_epoch: 23 pg[2.5( v 22'1070 (0'0,22'1070] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/19/0 sis=18) [7,0] r=0 lpr=18 crt=22'1070 lcod 22'1069 mlcod 22'1069 active+clean+scrubbing+deep] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:38:50.608+0000 7ff07067a640 10 osd.7 pg_epoch: 23 pg[2.5( v 22'1070 (0'0,22'1070] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/19/0 sis=18) [7,0] r=0 lpr=18 crt=22'1070 lcod 22'1069 mlcod 22'1069 active+clean+scrubbing+deep+inconsistent+repair] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:38:51.645+0000 7ff06fe79640 10 osd.7 pg_epoch: 23 pg[2.5( v 22'1070 (0'0,22'1070] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=22'1070 mlcod 22'1069 active+clean+scrubbing+deep+inconsistent] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:39:02.632+0000 7ff06fe79640 10 osd.7 pg_epoch: 23 pg[2.5( v 22'1070 (0'0,22'1070] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=22'1070 mlcod 22'1069 active+clean+scrubbing+deep] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:39:14.829+0000 7ff07067a640 10 osd.7 pg_epoch: 23 pg[2.5( v 22'1070 (0'0,22'1070] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=22'1070 mlcod 22'1069 active+clean+scrubbing+deep+inconsistent+repair] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:39:25.834+0000 7ff07067a640 10 osd.7 pg_epoch: 23 pg[2.5( v 23'1071 (0'0,23'1071] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=23'1071 lcod 22'1070 mlcod 22'1070 active+clean+scrubbing+deep] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:39:37.735+0000 7ff06fe79640 10 osd.7 pg_epoch: 23 pg[2.5( v 23'1072 (0'0,23'1072] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=23'1072 lcod 23'1071 mlcod 23'1071 active+clean+scrubbing+deep] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.7.log.gz 2026-05-15T14:39:48.539+0000 7ff07067a640 10 osd.7 pg_epoch: 23 pg[2.5( v 23'1072 (0'0,23'1072] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=23'1072 lcod 23'1071 mlcod 23'1071 active+clean+inconsistent] do_pg_op osd_op(client.5151.0:1 2.5 2:a0000000::::head [scrubls in=38b] snapc 0=[] ondisk+read+balance_reads+pgop+ignore_overlay+known_if_redirected+supports_pool_eio e23)
ceph-osd.7.log.gz 2026-05-15T14:39:50.554+0000 7ff07067a640 10 osd.7 pg_epoch: 23 pg[2.5( v 23'1072 (0'0,23'1072] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=0 lpr=18 crt=23'1072 lcod 23'1071 mlcod 23'1071 active+clean+scrubbing+deep+inconsistent] scrubber<Session/ActiveScrubbing>: reinit_scrub_store reusing existing store
ceph-osd.0.log.gz 2026-05-15T14:40:00.993+0000 7f1937009640 10 osd.0 pg_epoch: 23 pg[2.5( v 23'1072 (0'0,23'1072] local-lis/les=18/19 n=534 ec=18/18 lis/c=18/18 les/c/f=19/23/0 sis=18) [7,0] r=1 lpr=18 pct=23'1071 lua=0'0 crt=23'1072 lcod 23'1071 active mbc={}] do_pg_op osd_op(client.4928.0:1 2.5 2:a0000000::::head [scrubls in=38b] snapc 0=[] ondisk+read+balance_reads+pgop+ignore_overlay+known_if_redirected+supports_pool_eio e23)
ceph-osd.0.log.gz 2026-05-15T14:40:00.993+0000 7f1937009640  1 -- [v2:10.20.193.78:6810/2110958800,v1:10.20.193.78:6811/2110958800] --> 10.20.193.78:0/3155747534 -- osd_op_reply(1  [scrubls] v23'1072 uv1071 ondisk = -2 ((2) No such file or directory)) -- 0x5407440 con 0x5b58c00

Note, this was found in a teuthology run with new options to enable balanced reads which has not been merged yet due to finding a couple of balanced read issues, but the underlying issue still exists.


Related issues 1 (0 open — 1 closed)

Related to Ceph QA - QA Run #76606: wip-yuri-testing-2026-05-14-1648 (wip-yuri-testing-2026-05-14-1549)QA ClosedLaura Flores

Actions

JB Updated by Jonathan Bailey 6 months ago Actions #1

  • Subject changed from No scrub information available after deep scrub due to scrubls pg ops being balanced to No scrub information available after deep scrub due to scrubls pg ops being balanced with rados_replica_read_policy = balanced

LF Updated by Laura Flores 6 months ago Actions #3

  • Related to QA Run #76606: wip-yuri-testing-2026-05-14-1648 (wip-yuri-testing-2026-05-14-1549) added

BS Updated by Bill Scales 4 months ago Actions #4

  • Assignee changed from Jonathan Bailey to Bill Scales
  • Pull request ID set to 70629

I think all pg ops including scrubls but also others such as pgnls should be routed to the primary as none of these ops are performance critical and many of them rely on state that only the primary has.

BS Updated by Bill Scales 4 months ago Actions #5

  • Status changed from New to Fix Under Review

UB Updated by Upkeep Bot 2 months ago Actions #6

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to 1b14e27c8c98b2aeebed82f851f1d196b121b005
  • Fixed In set to v21.3.0-3876-g1b14e27c8c
  • Upkeep Timestamp set to 2026-09-30T22:49:32+00:00
Actions

Also available in: PDF Atom