Project

General

Profile

Actions

Bug #75007

closed
LS JP

rados/thrash-erasure-code ec_optimizations_off osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30

Bug #75007: rados/thrash-erasure-code ec_optimizations_off osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30

Added by Lee Sanders 10 months ago. Updated 22 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
EC Pools
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-1141-g9bd2e14b3b
Released In:
v21.2.0~566
Upkeep Timestamp:
2026-11-11T13:27:03+00:00

Description

/a/skanta-2026-02-07_05:16:09-rados-wip-bharath5-testing-2026-02-06-2052-distro-default-trial/39330

rados/thrash-erasure-code - ec_optimizations_off

026-02-07T06:19:34.840 DEBUG:teuthology.orchestra.run.trial187:> sudo tar c -f - -C /home/ubuntu/cephtest/archive -- .
2026-02-07T06:19:34.876 INFO:teuthology.task.internal:Removing archive directory...
2026-02-07T06:19:34.876 DEBUG:teuthology.orchestra.run.trial089:> rm -rf -- /home/ubuntu/cephtest/archive
2026-02-07T06:19:34.879 DEBUG:teuthology.orchestra.run.trial109:> rm -rf -- /home/ubuntu/cephtest/archive
2026-02-07T06:19:34.882 DEBUG:teuthology.orchestra.run.trial186:> rm -rf -- /home/ubuntu/cephtest/archive
2026-02-07T06:19:34.884 DEBUG:teuthology.orchestra.run.trial187:> rm -rf -- /home/ubuntu/cephtest/archive
2026-02-07T06:19:34.925 DEBUG:teuthology.run_tasks:Unwinding manager internal.archive_upload
2026-02-07T06:19:34.941 INFO:teuthology.task.internal:Not uploading archives.
2026-02-07T06:19:34.942 DEBUG:teuthology.run_tasks:Unwinding manager internal.base
2026-02-07T06:19:34.960 INFO:teuthology.task.internal:Tidying up after the test...
2026-02-07T06:19:34.960 DEBUG:teuthology.orchestra.run.trial089:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2026-02-07T06:19:34.963 DEBUG:teuthology.orchestra.run.trial109:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2026-02-07T06:19:34.966 DEBUG:teuthology.orchestra.run.trial186:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2026-02-07T06:19:34.968 DEBUG:teuthology.orchestra.run.trial187:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2026-02-07T06:19:34.976 INFO:teuthology.orchestra.run.trial089.stdout:   786525      4 drwxr-xr-x   2 ubuntu   ubuntu       4096 Feb  7 06:19 /home/ubuntu/cephtest
2026-02-07T06:19:34.981 INFO:teuthology.orchestra.run.trial109.stdout:   786525      4 drwxr-xr-x   2 ubuntu   ubuntu       4096 Feb  7 06:19 /home/ubuntu/cephtest
2026-02-07T06:19:34.984 INFO:teuthology.orchestra.run.trial186.stdout:   786525      4 drwxr-xr-x   2 ubuntu   ubuntu       4096 Feb  7 06:19 /home/ubuntu/cephtest
2026-02-07T06:19:34.986 INFO:teuthology.orchestra.run.trial187.stdout:   791879      4 drwxr-xr-x   2 ubuntu   ubuntu       4096 Feb  7 06:19 /home/ubuntu/cephtest
2026-02-07T06:19:34.988 DEBUG:teuthology.run_tasks:Unwinding manager kernel
2026-02-07T06:19:35.005 DEBUG:teuthology.run_tasks:Unwinding manager console_log
2026-02-07T06:19:35.046 INFO:teuthology.run:Summary data:
description: rados/thrash-erasure-code/{ceph clusters/{fixed-4} ec_optimizations/ec_optimizations_off
  fast/normal mon_election/classic msgr-failures/osd-dispatch-delay objectstore/{bluestore/{alloc$/{stupid}
  base mem$/{low} onode-segment$/{1M} write$/{v2/{compr$/{yes$/{lz4}} v2}}}} rados
  recovery-overrides/{default} supported-random-distro$/{centos_latest} thrashers/morepggrow
  thrashosds-health workloads/ec-small-objects}
duration: 954.9423379898071
failure_reason: '"2026-02-07T06:15:38.843789+0000 osd.2 (osd.2) 12 : cluster [ERR]
  osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30
  snaps missing in mapper, should be: {1e, 23} ...repaired" in cluster log'
flavor: default
owner: [email protected]
success: false

2026-02-07T06:19:35.046 DEBUG:teuthology.report:Pushing job info to https://paddles-paddles.apps.pok.os.sepia.ceph.com
2026-02-07T06:19:35.154 INFO:teuthology.run:FAIL

2026-02-07T06:19:20.066 INFO:teuthology.orchestra.run:waiting for 300
2026-02-07T06:19:20.080 INFO:tasks.ceph.mon.a:Stopped
2026-02-07T06:19:20.081 DEBUG:tasks.ceph.mon.b:waiting for process to exit
2026-02-07T06:19:20.081 INFO:teuthology.orchestra.run:waiting for 300
2026-02-07T06:19:20.096 INFO:tasks.ceph.mon.b:Stopped
2026-02-07T06:19:20.096 DEBUG:tasks.ceph.mon.c:waiting for process to exit
2026-02-07T06:19:20.096 INFO:teuthology.orchestra.run:waiting for 300
2026-02-07T06:19:20.110 INFO:tasks.ceph.mon.c:Stopped
2026-02-07T06:19:20.110 INFO:tasks.ceph:Checking cluster log for badness...
2026-02-07T06:19:20.111 DEBUG:teuthology.orchestra.run.trial089:> sudo grep -E '\[ERR\]|\[WRN\]|\[SEC\]' /var/log/ceph/ceph.log | grep -E -v '\(MDS_ALL_DOWN\)' | grep -E -v '\(MDS_UP_LESS_THAN_MAX\)' | grep -E -v 'but it is still running' | grep -E -v 'objects unfound and apparently lost' | grep -E -v '\(POOL_APP_NOT_ENABLED\)' | grep -E -v 'overall HEALTH_' | grep -E -v '\(OSDMAP_FLAGS\)' | grep -E -v '\(OSD_' | grep -E -v '\(PG_' | grep -E -v '\(POOL_' | grep -E -v '\(CACHE_POOL_' | grep -E -v '\(SMALLER_PGP_NUM\)' | grep -E -v '\(OBJECT_' | grep -E -v SLOW_OPS | grep -E -v '\(REQUEST_SLOW\)' | grep -E -v '\(TOO_FEW_PGS\)' | grep -E -v 'slow request' | grep -E -v 'timeout on replica' | grep -E -v 'late reservation from' | grep -E -v MON_DOWN | grep -E -v OSDMAP_FLAGS | grep -E -v OSD_DOWN | grep -E -v PG_DEGRADED | grep -E -v PG_AVAILABILITY | grep -E -v POOL_APP_NOT_ENABLED | grep -E -v 'mons down' | grep -E -v 'mon down' | grep -E -v 'out of quorum' | grep -E -v noscrub | grep -E -v nodeep-scrub | grep -E -v 'Degraded data redundancy' | grep -E -v 'is down' | grep -E -v 'osds down' | grep -E -v 'pg .*? is .*?degraded.*?, acting' | grep -E -v 'pg .*? is stuck' | grep -E -v 'pg degraded' | grep -E -v PG_BACKFILL_FULL | grep -E -v 'Low space hindering backfill .*? backfill_toofull' | grep -E -v OSD_ROOT_DOWN | grep -E -v 'pgs degraded' | grep -E -v 'pgs undersized' | grep -E -v 'is active.*backfill_toofull.*' | head -n 1
2026-02-07T06:19:20.150 INFO:teuthology.orchestra.run.trial089.stdout:2026-02-07T06:15:38.843789+0000 osd.2 (osd.2) 12 : cluster [ERR] osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30 snaps missing in mapper, should be: {1e, 23} ...repaired
2026-02-07T06:19:20.151 WARNING:tasks.ceph:Found errors (ERR|WRN|SEC) in cluster log
2026-02-07T06:19:20.151 DEBUG:teuthology.orchestra.run.trial089:> sudo grep -E '\[SEC\]' /var/log/ceph/ceph.log | grep -E -v '\(MDS_ALL_DOWN\)' | grep -E -v '\(MDS_UP_LESS_THAN_MAX\)' | grep -E -v 'but it is still running' | grep -E -v 'objects unfound and apparently lost' | grep -E -v '\(POOL_APP_NOT_ENABLED\)' | grep -E -v 'overall HEALTH_' | grep -E -v '\(OSDMAP_FLAGS\)' | grep -E -v '\(OSD_' | grep -E -v '\(PG_' | grep -E -v '\(POOL_' | grep -E -v '\(CACHE_POOL_' | grep -E -v '\(SMALLER_PGP_NUM\)' | grep -E -v '\(OBJECT_' | grep -E -v SLOW_OPS | grep -E -v '\(REQUEST_SLOW\)' | grep -E -v '\(TOO_FEW_PGS\)' | grep -E -v 'slow request' | grep -E -v 'timeout on replica' | grep -E -v 'late reservation from' | grep -E -v MON_DOWN | grep -E -v OSDMAP_FLAGS | grep -E -v OSD_DOWN | grep -E -v PG_DEGRADED | grep -E -v PG_AVAILABILITY | grep -E -v POOL_APP_NOT_ENABLED | grep -E -v 'mons down' | grep -E -v 'mon down' | grep -E -v 'out of quorum' | grep -E -v noscrub | grep -E -v nodeep-scrub | grep -E -v 'Degraded data redundancy' | grep -E -v 'is down' | grep -E -v 'osds down' | grep -E -v 'pg .*? is .*?degraded.*?, acting' | grep -E -v 'pg .*? is stuck' | grep -E -v 'pg degraded' | grep -E -v PG_BACKFILL_FULL | grep -E -v 'Low space hindering backfill .*? backfill_toofull' | grep -E -v OSD_ROOT_DOWN | grep -E -v 'pgs degraded' | grep -E -v 'pgs undersized' | grep -E -v 'is active.*backfill_toofull.*' | head -n 1
2026-02-07T06:19:20.217 DEBUG:teuthology.orchestra.run.trial089:> sudo grep -E '\[ERR\]' /var/log/ceph/ceph.log | grep -E -v '\(MDS_ALL_DOWN\)' | grep -E -v '\(MDS_UP_LESS_THAN_MAX\)' | grep -E -v 'but it is still running' | grep -E -v 'objects unfound and apparently lost' | grep -E -v '\(POOL_APP_NOT_ENABLED\)' | grep -E -v 'overall HEALTH_' | grep -E -v '\(OSDMAP_FLAGS\)' | grep -E -v '\(OSD_' | grep -E -v '\(PG_' | grep -E -v '\(POOL_' | grep -E -v '\(CACHE_POOL_' | grep -E -v '\(SMALLER_PGP_NUM\)' | grep -E -v '\(OBJECT_' | grep -E -v SLOW_OPS | grep -E -v '\(REQUEST_SLOW\)' | grep -E -v '\(TOO_FEW_PGS\)' | grep -E -v 'slow request' | grep -E -v 'timeout on replica' | grep -E -v 'late reservation from' | grep -E -v MON_DOWN | grep -E -v OSDMAP_FLAGS | grep -E -v OSD_DOWN | grep -E -v PG_DEGRADED | grep -E -v PG_AVAILABILITY | grep -E -v POOL_APP_NOT_ENABLED | grep -E -v 'mons down' | grep -E -v 'mon down' | grep -E -v 'out of quorum' | grep -E -v noscrub | grep -E -v nodeep-scrub | grep -E -v 'Degraded data redundancy' | grep -E -v 'is down' | grep -E -v 'osds down' | grep -E -v 'pg .*? is .*?degraded.*?, acting' | grep -E -v 'pg .*? is stuck' | grep -E -v 'pg degraded' | grep -E -v PG_BACKFILL_FULL | grep -E -v 'Low space hindering backfill .*? backfill_toofull' | grep -E -v OSD_ROOT_DOWN | grep -E -v 'pgs degraded' | grep -E -v 'pgs undersized' | grep -E -v 'is active.*backfill_toofull.*' | head -n 1
2026-02-07T06:19:20.281 INFO:teuthology.orchestra.run.trial089.stdout:2026-02-07T06:15:38.843789+0000 osd.2 (osd.2) 12 : cluster [ERR] osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30 snaps missing in mapper, should be: {1e, 23} ...repaired
2026-02-07T06:19:20.282 INFO:tasks.ceph:Unmounting /var/lib/ceph/osd/ceph-0 on [email protected]
2026-02-07T06:19:20.283 DEBUG:teuthology.orchestra.run.trial089:> sync && sudo umount -f /var/lib/ceph/osd/ceph-0
2026-02-07T06:19:20.364 INFO:tasks.ceph:Unmounting /var/lib/ceph/osd/ceph-4 on [email protected]
2026-02-07T06:19:20.364 DEBUG:teuthology.orchestra.run.trial089:> sync && sudo umount -f /var/lib/ceph/osd/ceph-4
2026-02-07T06:19:20.447 INFO:tasks.ceph:Unmounting /var/lib/ceph/osd/ceph-8 on [email protected]
2026-02-07T06:19:20.447 DEBUG:teuthology.orchestra.run.trial089:> sync && sudo umount -f /var/lib/ceph/osd/ceph-8
2026-02-07T06:19:20.528 INFO:tasks.ceph:Unmounting /var/lib/ceph/osd/ceph-12 on [email protected]

Related issues 1 (1 open — 0 closed)

Copied to RADOS - Backport #83050: tentacle: rados/thrash-erasure-code ec_optimizations_off osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30Fix Under ReviewRonen Friedman

Actions

LF Updated by Laura Flores 9 months ago Actions #1

  • Description updated (diff)

LF Updated by Laura Flores 9 months ago · Edited Actions #2

/a/skanta-2026-02-07_05:16:09-rados-wip-bharath5-testing-2026-02-06-2052-distro-default-trial/39330/remote/trial186/log/ceph-osd.2.log.gz

2026-02-07T06:15:38.843+0000 7fabba40b640 10 snap_mapper get_snaps_check_consistency: snaps for 3:6cbd236a:::trial18728466-1017:b5: {a1, aa, ae, b1, b4}
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_object_snaps: 3:6cbd236a:::trial18728466-1017:b5: snapset match SnapMapper's ({a1, aa, ae, b1, b4})
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 3:6cbd236a:::trial18728466-1017:a0
2026-02-07T06:15:38.843+0000 7fabba40b640 15 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_object_snaps: obj:3:6cbd236a:::trial18728466-1017:a0 snapset:b5={a0: [9b, 91, 80], b5: [b4, b1, ae, aa, a1]}
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper get_snaps_common: key string: {"OBJ_.0_0000000000000003.63DB4C65.a0.trial18728466-1017.."} oid:3:6cbd236a:::trial18728466-1017:a0
2026-02-07T06:15:38.843+0000 7fabba40b640 15 bluestore(/var/lib/ceph/osd/ceph-2) omap_get_values meta oid #-1:c0371625:::snapmapper:0#
2026-02-07T06:15:38.843+0000 7fabba40b640 20 bluestore.onode(0x55ce000).flush flush done
2026-02-07T06:15:38.843+0000 7fabba40b640 10 bluestore(/var/lib/ceph/osd/ceph-2) omap_get_values meta oid #-1:c0371625:::snapmapper:0# = 0
2026-02-07T06:15:38.843+0000 7fabba40b640 20 maybe_unpin 0x4fec000 #-1:c0371625:::snapmapper:0# touched
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper get_snaps_common 3:6cbd236a:::trial18728466-1017:a0 80,91,9b
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper to_raw_keys: clone:3:6cbd236a:::trial18728466-1017:a0 snaps:{80, 91, 9b} -> keys: {"SNA_3_0000000000000080_.0_0000000000000003.63DB4C65.a0.trial18728466-1017..", "SNA_3_0000000000000091_.0_0000000000000003.63DB4C65.a0.trial18728466-1017..", "SNA_3_000000000000009B_.0_0000000000000003.63DB4C65.a0.trial18728466-1017.."}
2026-02-07T06:15:38.843+0000 7fabba40b640 15 bluestore(/var/lib/ceph/osd/ceph-2) omap_get_values meta oid #-1:c0371625:::snapmapper:0#
2026-02-07T06:15:38.843+0000 7fabba40b640 20 bluestore.onode(0x55ce000).flush flush done
2026-02-07T06:15:38.843+0000 7fabba40b640 10 bluestore(/var/lib/ceph/osd/ceph-2) omap_get_values meta oid #-1:c0371625:::snapmapper:0# = 0
2026-02-07T06:15:38.843+0000 7fabba40b640 20 maybe_unpin 0x4fec000 #-1:c0371625:::snapmapper:0# touched
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper get_snaps_check_consistency 3:6cbd236a:::trial18728466-1017:a0 SNA_3_0000000000000080_.0_0000000000000003.63DB4C65.a0.trial18728466-1017..
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper get_snaps_check_consistency 3:6cbd236a:::trial18728466-1017:a0 SNA_3_0000000000000091_.0_0000000000000003.63DB4C65.a0.trial18728466-1017..
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper get_snaps_check_consistency 3:6cbd236a:::trial18728466-1017:a0 SNA_3_000000000000009B_.0_0000000000000003.63DB4C65.a0.trial18728466-1017..
2026-02-07T06:15:38.843+0000 7fabba40b640 10 snap_mapper get_snaps_check_consistency: snaps for 3:6cbd236a:::trial18728466-1017:a0: {80, 91, 9b}
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_object_snaps: 3:6cbd236a:::trial18728466-1017:a0: snapset match SnapMapper's ({80, 91, 9b})
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 3:6cb2ba02:::trial18728466-969:head
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 3:6c9e2abc:::trial18728466-181:head
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 3:6c8646a3:::trial18728466-218:head
2026-02-07T06:15:38.843+0000 7fabba40b640 20 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 3:6c495846:::trial18728466-704:head
2026-02-07T06:15:38.843+0000 7fabba40b640 15 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>:  b.e.: scan_snaps 1 fix orders
2026-02-07T06:15:38.843+0000 7fabba40b640 15 osd.2 pg_epoch: 499 pg[3.36s0( v 498'1114 (0'0,498'1114] local-lis/les=459/460 n=13 ec=183/32 lis/c=459/459 les/c/f=460/460/0 sis=459) [2,5,14]p2(0) r=0 lpr=459 crt=498'1114 lcod 496'1112 mlcod 496'1112 active+clean+scrubbing(must-scrub) ps=[60~1,72~1,75~1,77~9,81~10,92~9,9c~5,a2~8,ab~3,af~2,b2~2,b5~5]] scrubber<Session/Act/WaitReplicas>: apply_snap_mapper_fixes 1 fixes
2026-02-07T06:15:38.843+0000 7fabba40b640 -1 log_channel(cluster) log [ERR] : osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30 snaps missing in mapper, should be: {1e, 23} ...repaired

I see some scrubbing going on...

RZ Updated by Radoslaw Zarzynski 9 months ago Actions #3

failure_reason: '"2026-02-07T06:15:38.843789+0000 osd.2 (osd.2) 12 : cluster [ERR]

osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30
snaps missing in mapper, should be: {1e, 23} ...repaired" in cluster log'

Looks like a SnapMapper issue while the failure has happened on a testing branch.
I wonder whether this could come from the SnapMapper scrubbing as the branch had:

https://github.com/ceph/ceph/pull/66552 - osd: Add flag to Identify Scrub IO

LF Updated by Laura Flores 9 months ago Actions #4

  • Assignee set to Jaya Prakash

@Jaya Prakash mind taking a look?

JP Updated by Jaya Prakash 9 months ago Actions #5

Deep Scrub detected missing SnapMapper Inconsistency

2026-02-07T06:15:38.843+0000 7fabba40b640 -1 log_channel(cluster) log [ERR] : osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30 snaps missi
ng in mapper, should be: {1e, 23} ...repaired
...
2026-02-07T06:15:38.843+0000 7fabba40b640 10 snap_mapper get_snaps_common 3:6cc032a5:::trial18728466-404:30 got.empty()

It repaired it correctly :
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper add_oid 3:6cc032a5:::trial18728466-404:30 1e,23
...
2026-02-07T06:15:38.843+0000 7fabba40b640 20 snap_mapper set_snaps 3:6cc032a5:::trial18728466-404:30 1e,23
...
2026-02-07T06:15:38.843+0000 7fabba40b640 15 bluestore(/var/lib/ceph/osd/ceph-2) _omap_setkeys meta #-1:c0371625:::snapmapper:0#
2026-02-07T06:15:38.843+0000 7fabba40b640 20 bluestore(/var/lib/ceph/osd/ceph-2) _omap_setkeys  0x0000000000000000C03716250000000000000402'.OBJ_.0_0000000000000003.6330C45A.30.trial18728466-404..' <- OBJ_.0_0000000000000003.6330C45A.30.trial18728466-404..

RZ Updated by Radoslaw Zarzynski 9 months ago Actions #6

Oops, it might be related. Let's observe as https://github.com/ceph/ceph/pull/66552 in main since 3 weeks now.

JP Updated by Jaya Prakash 9 months ago Actions #7

It looks like a SnapMapper inconsistency detected during scrub, and scrub repaired it correctly.
PR https://github.com/ceph/ceph/pull/66552 mainly renames flag (CEPH_OSD_OP_FLAG_BYPASS_CLEAN_CACHE to CEPH_OSD_OP_FLAG_SCRUB) and doesn’t appear to change SnapMapper or scrub logic, so it may not be the direct cause here.
Also, the change passed teuthology tests before merging : https://github.com/ceph/ceph/pull/66552#issuecomment-3871626539
Please feel free to correct me if I’m missing something.

RZ Updated by Radoslaw Zarzynski 9 months ago Actions #8

  • Status changed from New to Need More Info

OK, understood, thank you. If that's an actual corruption, it shouldn't replicate for long, long time.
Let's observe (putting into NMI for that).

LF Updated by Laura Flores about 1 month ago Actions #9

/a/yuriw-2026-10-16_22:49:35-rados-tentacle-release-distro-default-trial/649257

LF Updated by Laura Flores about 1 month ago Actions #10

Bump up

LF Updated by Laura Flores about 1 month ago Actions #11

Bump up

JP Updated by Jaya Prakash about 1 month ago Actions #12

Scrub detected the inconsistency and repaired it

876527:2026-10-17T05:16:01.788+0000 7754acc3b6c0  1 -- [v2:10.20.193.184:6810/1048399650,v1:10.20.193.184:6811/1048399650] <== osd.11 v2:10.20.193.184:6818/556150810 310 ==== replica_scrub(pg: 3.34s4,from:0'0,to:398'157,epoch:427/391,start:3:2c000000::::0,end:MAX,chunky:1,deep:0,version:9,allow_pree
876879:2026-10-17T05:16:01.888+0000 77548e7156c0 -1 log_channel(cluster) log [ERR] : osd.3(4) found snap mapper error on pg 3.34s4 oid 3:2dfa757e:::trial18415627-2:20 snaps in mapper: {}, oi: {1c} ...repaired
876912:2026-10-17T05:16:01.888+0000 77548e7156c0  1 -- [v2:10.20.193.184:6810/1048399650,v1:10.20.193.184:6811/1048399650] --> [v2:10.20.193.184:6818/556150810,v1:10.20.193.184:6819/556150810] -- rep_scrubmap(3.34s0 e391 from shard 3(4)) -- 0x5a3c96fb50e0 con 0x5a3c9e447800

The repair removed and rewrote OBJ_ and SNA_…1C

876887:2026-10-17T05:16:01.888+0000 77548e7156c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys  rm 0x0000000000000000C03716250000000000000402'.OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
876890:2026-10-17T05:16:01.888+0000 77548e7156c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys  rm 0x0000000000000000C03716250000000000000402'.SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
876893:2026-10-17T05:16:01.888+0000 77548e7156c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys  0x0000000000000000C03716250000000000000402'.OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
876896:2026-10-17T05:16:01.888+0000 77548e7156c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys  0x0000000000000000C03716250000000000000402'.SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..

JP Updated by Jaya Prakash about 1 month ago Actions #13

I suspect we need a backport for https://github.com/ceph/ceph/pull/68707
As i see

// Recently recovered replicas may observe missing snap-mapper state.
// Avoid creating an inconsistent state (OBJ_ without matching SNA_ entries) that
// would be detected by scrub later on - instead rebuild the mapping from scratch.

Investigating More..

LF Updated by Laura Flores 28 days ago Actions #14

ACK

JP Updated by Jaya Prakash 23 days ago Actions #15

Failure (ceph.log)

2026-10-17T05:16:01.890213+0000 osd.3 (osd.3) 3 : cluster [ERR] osd.3(4) found snap mapper error on pg 3.34s4 oid 3:2dfa757e:::trial18415627-2:20 snaps in mapper: {}, oi: {1c} ...repaired

The clone 3:2dfa757e:::trial18415627-2:20 had no snap mapper keys, and the snap-trim write then created OBJ_ without any SNA_.

COT = ceph-objectstore-tool
During COT Export + COT PG removal + COT Import

The clone's snap keys were removed by the COT remove (objectstore_tool.19581.log)

2026-10-17T05:14:33.272+0000 70edea524940 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys  rm 0x0000000000000000C03716250000000000000402'.OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
2026-10-17T05:14:33.272+0000 70edea524940 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys  rm 0x0000000000000000C03716250000000000000402'.SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
....

There are also SNA_ removals for 18, 19, 1a, 1d, 1e, 1f and 20

The COT import re-creates no mapper keys for this clone.

Cause :

For trial18415627-2 the head was missing on this shard.
In COT logs during import

2026-10-17T05:14:33.617+0000 77907dd01940 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys  0x0000000000001006'.missing/0000000000000003.4BF5EAE7.head.trial18415627-2..' <- missing/0000000000000003.4BF5EAE7.head.trial18415627-2..

and then head was recovered from primary (osd.11)
The snap trim (tid=786, at_version=394'145) arrives on that shard (ceph-osd.3.log)

2026-10-17T05:15:18.975+0000 7754acc3b6c0  1 -- [v2:10.20.193.184:6810/1048399650,v1:10.20.193.184:6811/1048399650] <== osd.11 v2:10.20.193.184:6818/556150810 210 ==== MOSDECSubOpWrite(3.34s4 394/391 ECSubWrite(tid=786, reqid=osd.11.0:786, at_version=394'145, trim_to=0'0, pg_committed_to=393'143)) ==== 3490+0+1119 (crc 0 0 0) 0x5a3c99110000 con 0x5a3c9e447800

osd.3 applies it. OBJ_ is written, but the rmkeys has no keys and no SNA_ is written

2026-10-17T05:15:19.075+0000 77548a70d6c0 15 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys meta #-1:c0371625:::snapmapper:0#
2026-10-17T05:15:19.075+0000 77548a70d6c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys  0x0000000000000000C03716250000000000000402'.OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- OBJ_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..
2026-10-17T05:15:19.075+0000 77548a70d6c0 10 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys meta #-1:c0371625:::snapmapper:0# = 0
2026-10-17T05:15:19.075+0000 77548a70d6c0 15 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys meta #-1:c0371625:::snapmapper:0#
2026-10-17T05:15:19.075+0000 77548a70d6c0 10 bluestore(/var/lib/ceph/osd/ceph-3) _omap_rmkeys meta #-1:c0371625:::snapmapper:0# = 0

Nothing else in the osd.3 log touches this key between the COT remove and this write.

Scrub finds the OBJ_-only state and repairs it

2026-10-17T05:16:01.888+0000 77548e7156c0 20 bluestore(/var/lib/ceph/osd/ceph-3) _omap_setkeys  0x0000000000000000C03716250000000000000402'.SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..' <- SNA_3_000000000000001C_.4_0000000000000003.4BF5EAE7.20.trial18415627-2..

the missing SNA_1c, written back by scrub.

as the osd debug level is set at 5, I dont see any logs from update_snaps, as https://github.com/ceph/ceph/pull/68707 Avoid creating an inconsistent state (OBJ_ without matching SNA_ entries) we might need a backport to tentacle

cc: @Ronen Friedman

JP Updated by Jaya Prakash 22 days ago Actions #16

As confirmed by Ronen, https://github.com/ceph/ceph/pull/68707 is the correct fix. It needs to be backported.

JP Updated by Jaya Prakash 22 days ago Actions #17

  • Status changed from Need More Info to Pending Backport
  • Pull request ID set to 68707

JP Updated by Jaya Prakash 22 days ago Actions #18

  • Backport set to tentacle

UB Updated by Upkeep Bot 22 days ago Actions #19

  • Copied to Backport #83050: tentacle: rados/thrash-erasure-code ec_optimizations_off osd.2(0) found snap mapper error on pg 3.36s0 oid 3:6cc032a5:::trial18728466-404:30 added

UB Updated by Upkeep Bot 22 days ago Actions #20

  • Status changed from Pending Backport to Backporting
  • Merge Commit set to 9bd2e14b3bf52b100d97ccd5f89aaf7cece72e46
  • Fixed In set to v21.0.0-1141-g9bd2e14b3b
  • Released In set to v21.2.0~566
  • Upkeep Timestamp set to 2026-11-11T13:27:03+00:00
Actions

Also available in: PDF Atom