Bug #72424
closedHealth check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade/thrash test
0%
Description
/a/lflores-2025-05-27_17:11:46-upgrade-tentacle-distro-default-smithi/8297908
2025-05-29T15:01:05.141 INFO:[email protected]:May 29 15:01:05 smithi062 ceph-mon[117186]: Health check failed: 1/97775 objects unfound (0.001%) (OBJECT_UNFOUND) 2025-05-29T15:01:05.141 INFO:[email protected]:May 29 15:01:05 smithi062 ceph-mon[117186]: Health check failed: Possible data damage: 1 pg recovery_unfound (PG_DAMAGED) 2025-05-29T15:01:05.141 INFO:[email protected]:May 29 15:01:05 smithi062 ceph-mon[117186]: from='mgr.34107 172.21.15.62:0/3625056227' entity='mgr.y' cmd='[{"prefix": "osd pool set", "pool": ".mgr", "var": "pg_num_actual", "val": "21"}]': finished
About this failure, Bill Scales wrote:
The object was only unfound for a short time: pg 2.3, osd 7, replica 3 pool "recover_missing 2:c4c92e5a:::rbd_trash:head v 55'1 but it is unfound"
It appears that osd 7 was added to the up set, but before it could recover the 1 object in the PG the other two osds (5,6) went down. Not sure why we didn't think the PG should of been down, but we tried to peer with just 7 which had the log entry but no object and no other osd to get it from. When osd 5 and 6 returns the object was recovered
Neha confirmed:
If we eventually recovered, then it is less worrisome
I wanted to track this issue separately since it's not a usual warning to have during an upgrade test, and we should make sure that each case has recovered.
LF Updated by Laura Flores over 1 year ago
/a/yuriw-2025-07-28_23:39:14-upgrade:reef-x-tentacle-release-distro-default-smithi/8413522
2025-07-29T06:45:50.768 INFO:teuthology.orchestra.run.smithi115.stdout:2025-07-29T04:59:58.537066+0000 mon.a (mon.0) 1145 : cluster [WRN] Health check failed: 3009/67698 objects unfound (4.445%) (OBJECT_UNFOUND)
The warning did not persist during the upgrade test. Eventually, it resolved itself. This is seen in the cluster log.
[lflores@folio02 9573dc78-6c34-11f0-872f-adfe0268badd]$ zcat ceph.log.gz | grep "OBJECT_UNFOUND" 2025-07-29T04:59:58.537066+0000 mon.a (mon.0) 1145 : cluster [WRN] Health check failed: 3009/67698 objects unfound (4.445%) (OBJECT_UNFOUND) 2025-07-29T04:59:58.537066+0000 mon.a (mon.0) 1145 : cluster [WRN] Health check failed: 3009/67698 objects unfound (4.445%) (OBJECT_UNFOUND) 2025-07-29T05:00:00.000241+0000 mon.a (mon.0) 1147 : cluster [WRN] [WRN] OBJECT_UNFOUND: 3009/67698 objects unfound (4.445%) 2025-07-29T05:00:00.000241+0000 mon.a (mon.0) 1147 : cluster [WRN] [WRN] OBJECT_UNFOUND: 3009/67698 objects unfound (4.445%) 2025-07-29T05:00:04.555553+0000 mon.a (mon.0) 1174 : cluster [WRN] Health check update: 3009/67545 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:00:04.555553+0000 mon.a (mon.0) 1174 : cluster [WRN] Health check update: 3009/67545 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:00:11.671340+0000 mon.a (mon.0) 1181 : cluster [WRN] Health check update: 3009/67541 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:00:11.671340+0000 mon.a (mon.0) 1181 : cluster [WRN] Health check update: 3009/67541 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:00:38.801342+0000 mon.a (mon.0) 1218 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 3009/67541 objects unfound (4.455%)) 2025-07-29T05:00:38.801342+0000 mon.a (mon.0) 1218 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 3009/67541 objects unfound (4.455%)) 2025-07-29T05:00:44.870572+0000 mon.a (mon.0) 1223 : cluster [WRN] Health check failed: 3009/67541 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:00:44.870572+0000 mon.a (mon.0) 1223 : cluster [WRN] Health check failed: 3009/67541 objects unfound (4.455%) (OBJECT_UNFOUND) 2025-07-29T05:01:26.697142+0000 mon.a (mon.0) 1276 : cluster [WRN] Health check update: 3009/67486 objects unfound (4.459%) (OBJECT_UNFOUND) 2025-07-29T05:01:26.697142+0000 mon.a (mon.0) 1276 : cluster [WRN] Health check update: 3009/67486 objects unfound (4.459%) (OBJECT_UNFOUND) 2025-07-29T05:01:28.722547+0000 mon.a (mon.0) 1283 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 3009/67486 objects unfound (4.459%)) 2025-07-29T05:01:28.722547+0000 mon.a (mon.0) 1283 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 3009/67486 objects unfound (4.459%)) 2025-07-29T05:05:56.888949+0000 mon.a (mon.0) 1534 : cluster [WRN] Health check failed: 5479/105739 objects unfound (5.182%) (OBJECT_UNFOUND) 2025-07-29T05:05:56.888949+0000 mon.a (mon.0) 1534 : cluster [WRN] Health check failed: 5479/105739 objects unfound (5.182%) (OBJECT_UNFOUND) 2025-07-29T05:06:10.772439+0000 mon.a (mon.0) 1542 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 5479/105739 objects unfound (5.182%)) 2025-07-29T05:06:10.772439+0000 mon.a (mon.0) 1542 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 5479/105739 objects unfound (5.182%))
LF Updated by Laura Flores over 1 year ago
- Related to Bug #71616: tentacle: upgrade suite cluster log warnings added
LF Updated by Laura Flores over 1 year ago
- Description updated (diff)
BS Updated by Bill Scales over 1 year ago
Looking at /a/yuriw-2025-07-28_23:39:14-upgrade:reef-x-tentacle-release-distro-default-smithi/8413522
The first unfound objects message is from pg 6.6 saying it has 3009 unfound objects, it is logged at 2025-07-29T04:59:58.530+0000. Looking at the teuthology test we see that the MGRs, MONs and half the OSDs have been upgraded and that we are now running a thrasher test:
2025-07-29T04:51:06.183 INFO:tasks.thrashosds:Beginning thrashosds... 2025-07-29T04:51:21.111 INFO:tasks.thrashosds.thrasher:in_osds: [0, 1, 2, 3, 4, 5, 6, 7] out_osds: [] dead_osds: [] live_osds: [0, 1, 2, 3, 4, 5, 6, 7] 2025-07-29T04:51:21.112 INFO:tasks.thrashosds.thrasher:Removing osd 0, in_osds are: [0, 1, 2, 3, 4, 5, 6, 7] 2025-07-29T04:51:38.091 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7] out_osds: [0] dead_osds: [] live_osds: [0, 1, 2, 3, 4, 5, 6, 7] 2025-07-29T04:51:45.934 INFO:tasks.thrashosds.thrasher:Adding osd 0 2025-07-29T04:52:02.327 INFO:tasks.thrashosds.thrasher:Added osd 0 2025-07-29T04:52:07.328 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7, 0] out_osds: [] dead_osds: [] live_osds: [0, 1, 2, 3, 4, 5, 6, 7] 2025-07-29T04:56:33.461 INFO:tasks.thrashosds.thrasher:Killing osd 4, live_osds are [0, 1, 2, 3, 4, 5, 6, 7] 2025-07-29T04:56:45.275 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7, 0] out_osds: [] dead_osds: [4] live_osds: [0, 1, 2, 3, 5, 6, 7] 2025-07-29T04:57:18.408 INFO:tasks.thrashosds.thrasher:Reviving osd 4 2025-07-29T04:57:37.185 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7, 0] out_osds: [] dead_osds: [] live_osds: [0, 1, 2, 3, 5, 6, 7, 4] 2025-07-29T04:58:34.820 INFO:tasks.thrashosds.thrasher:primary_affinity 2025-07-29T04:58:34.821 INFO:tasks.thrashosds.thrasher:Setting osd 3 primary_affinity to 0.287439 2025-07-29T04:59:06.021 INFO:tasks.thrashosds.thrasher:Killing osd 3, live_osds are [0, 1, 2, 3, 5, 6, 7, 4] 2025-07-29T04:59:30.160 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7, 0] out_osds: [] dead_osds: [3] live_osds: [0, 1, 2, 5, 6, 7, 4] 2025-07-29T04:59:52.671 INFO:tasks.thrashosds.thrasher:Killing osd 7, live_osds are [0, 1, 2, 5, 6, 7, 4] 2025-07-29T05:00:03.490 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 4, 5, 6, 7, 0] out_osds: [] dead_osds: [3, 7] live_osds: [0, 1, 2, 5, 6, 4] 2025-07-29T05:00:25.898 INFO:tasks.thrashosds.thrasher:Removing osd 4, in_osds are: [1, 2, 3, 4, 5, 6, 7, 0] 2025-07-29T05:00:40.507 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 5, 6, 7, 0] out_osds: [4] dead_osds: [3, 7] live_osds: [0, 1, 2, 5, 6, 4] 2025-07-29T05:01:10.456 INFO:tasks.thrashosds.thrasher:Reviving osd 7 2025-07-29T05:01:25.978 INFO:tasks.thrashosds.thrasher:Reviving osd 3 2025-07-29T05:04:23.793 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 5, 6, 7, 0] out_osds: [4] dead_osds: [] live_osds: [0, 1, 2, 5, 6, 4, 7, 3] 2025-07-29T05:04:23.794 INFO:tasks.thrashosds.thrasher:Adding osd 4 2025-07-29T05:04:34.581 INFO:tasks.thrashosds.thrasher:Added osd 4 2025-07-29T05:04:39.582 INFO:tasks.thrashosds.thrasher:in_osds: [1, 2, 3, 5, 6, 7, 0, 4] out_osds: [] dead_osds: [] live_osds: [0, 1, 2, 5, 6, 4, 7, 3]
PG 6.6 is using osds [3,4,7] - from the thrasher log above we can see that all 3 of these are being killed at different times. We first killed OSD 4 for a while, brought it back (it had about 4000 objects to recover at this point) and then very shortly afterwards killed OSDs 3 and 7. This leaves the PG as [4] with 3009 unfound objects because recovery hadn't completed. When the thrasher brings OSDs 3 and 7 back online everything recovers. Here are traces showing each transition:
# pg.6.6 All good here: 2025-07-29T04:56:35.758+0000 7f626f936640 10 osd.3 pg_epoch: 158 pg[6.6( v 158'1907 (0'0,158'1907] [3,4,7] active+clean OSD 4 killed: 2025-07-29T04:56:36.844+0000 7f627393e640 10 osd.3 pg_epoch: 160 pg[6.6( v 158'1907 (0'0,158'1907] [3,7] active+undersized+degraded OSD 4 revived - we've got 4377 log entries to recover 2025-07-29T04:57:29.998+0000 7f627393e640 10 osd.3 pg_epoch: 169 pg[6.6( v 166'6284 (0'0,166'6284] [3,4,7]/[3,7] async=[4] active+undersized+degraded+remapped primary affinity changed 2025-07-29T04:58:55.038+0000 7faf49b7c640 10 osd.4 pg_epoch: 181 pg[6.6( v 177'10032 lc 0'0 (161'2700,177'10032] [4,3,7] active+degraded OSD 3 killed: 2025-07-29T04:59:10.071+0000 7faf49b7c640 10 osd.4 pg_epoch: 185 pg[6.6( v 182'10183 lc 0'0 (161'2700,182'10183] [4,7]/[7,4] active+remapped OSD 7 killed: 2025-07-29T04:59:55.534+0000 7faf49b7c640 15 osd.4 pg_epoch: 191 pg[6.6( v 190'10791 lc 162'3275 (161'2700,190'10791] [4] m=3614 2025-07-29T04:59:56.561+0000 7faf49b7c640 10 osd.4 pg_epoch: 192 pg[6.6( v 190'10791 lc 162'3275 (161'2700,190'10791] [4] undersized+degraded+peered m=3614 u=3009
The thrasher for this test has been configured to be very aggressive - it is permitted to stop up to 4 of the 8 OSDs, so its not surprising that it is causing these kinds of health warnings to be generated.
We should fix the test to suppress the OBJECTS_UNFOUND warning. Ideally we should test that there is no unfixed OBJECTS_UNFOUND warning at the end of the test - it is valid for these to occur while the thrasher is doing its error inject, but once this has finished and we've upgraded the other half of the OSDs we don't expect there to be any health checks.
LF Updated by Laura Flores over 1 year ago
- Assignee set to Laura Flores
LF Updated by Laura Flores over 1 year ago
Bump up
RZ Updated by Radoslaw Zarzynski about 1 year ago
Bump need. We just need to enhance the ingorelist.
RZ Updated by Radoslaw Zarzynski about 1 year ago
Bump up.
LF Updated by Laura Flores about 1 year ago
- Subject changed from tentacle: Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade to Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade
RZ Updated by Radoslaw Zarzynski about 1 year ago
Bump up.
LF Updated by Laura Flores about 1 year ago
Bump up
LF Updated by Laura Flores about 1 year ago · Edited
We determined this is due to the aggressive thrasher, so it can be added to the ignorelist. Bumping up on my list.
LF Updated by Laura Flores about 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 66393
RZ Updated by Radoslaw Zarzynski about 1 year ago
scrub note: approved PR.
RZ Updated by Radoslaw Zarzynski about 1 year ago
scrub note: went into QA.
ID Updated by Ilya Dryomov 10 months ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot 10 months ago
- Merge Commit set to 4947dc973bb85ec4fd05c0eb1c21b5d45561abe0
- Fixed In set to v20.3.0-5147-g4947dc973b
- Upkeep Timestamp set to 2026-02-05T16:19:48+00:00
UB Updated by Upkeep Bot 10 months ago
- Tags (freeform) set to backport_processed
LF Updated by Laura Flores 9 months ago
- Related to Bug #75418: upgrade: [ERR] Health check failed: Possible data damage: 2 pgs recovery_unfound (PG_DAMAGED) in cluster log added
SS Updated by Sridhar Seshasayee 8 months ago
Observed in upgrade/squid-x suite:
/a/yuriw-2026-03-21_15:09:27-upgrade:squid-x-tentacle-release-distro-default-trial]
3 Jobs: ['115940', '115943', '115939']
SS Updated by Sridhar Seshasayee 8 months ago
- Subject changed from Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade to Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade/thrash test
Although not an upgrade test, the issue is also hit during a thrash test.
/a/skanta-2026-04-06_10:52:21-rados-wip-bharath15-testing-2026-04-06-1414-tentacle-distro-default-trial/133421
Test Description:
rados/thrash-old-clients/{0-distro$/{centos_9.stream} 0-size-min-size-overrides/3-size-2-min-size
1-install/tentacle backoff/peering ceph clusters/{three-plus-one} d-balancer/on
mon_election/classic msgr-failures/fastclose rados thrashers/pggrow thrashosds-health
The warning was temporary and was cleared quickly as shown below:
$ zgrep "OBJECT_UNFOUND" ceph.log.gz 2026-04-06T14:59:56.934961+0000 mon.a (mon.0) 5471 : cluster [WRN] Health check failed: 3311/110887 objects unfound (2.986%) (OBJECT_UNFOUND) 2026-04-06T15:00:00.000144+0000 mon.a (mon.0) 5482 : cluster [WRN] [WRN] OBJECT_UNFOUND: 3311/110893 objects unfound (2.986%) 2026-04-06T15:00:02.871372+0000 mon.a (mon.0) 5502 : cluster [WRN] Health check update: 3311/110901 objects unfound (2.986%) (OBJECT_UNFOUND) 2026-04-06T15:00:02.955927+0000 mon.a (mon.0) 5506 : cluster [INF] Health check cleared: OBJECT_UNFOUND (was: 3311/110901 objects unfound (2.986%))
LF Updated by Laura Flores 8 months ago
/a/lflores-2026-04-10_20:41:50-upgrade:reef-x-tentacle-distro-default-trial/144410
Need a backport for tentacle, although it will not be direct due to the differing upgrade paths.
NM Updated by Nitzan Mordechai 7 months ago
/a/nmordech-2026-05-07_14:43:36-upgrade-wip-nmordech-testing-20260507.065818-distro-default-trial/
['198116', '198155', '198097']
PD Updated by Patrick Donnelly 7 months ago
- Target version set to v21.0.0
- Backport changed from tentacle to tentacle,squid
- Tags (freeform) deleted (
backport_processed)
UB Updated by Upkeep Bot 7 months ago
- Copied to Backport #76762: tentacle: Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade/thrash test added
UB Updated by Upkeep Bot 7 months ago
- Copied to Backport #76763: squid: Health check failed: "objects unfound (x%) (OBJECT_UNFOUND)" in cluster log during upgrade/thrash test added
UB Updated by Upkeep Bot 7 months ago
- Tags (freeform) set to backport_processed
LF Updated by Laura Flores 6 months ago
- Related to Bug #76932: tentacle: upgrade suite cluster log warnings - 2 added
LF Updated by Laura Flores 6 months ago
We need a tentacle backport. I'll add this.
NM Updated by Nitzan Mordechai 6 months ago
/a/yuriw-2026-06-05_21:16:44-upgrade-wip-pdonnell-testing-20260605.171913-tentacle-distro-default-trial/
['271471', '271430', '271410', '271417', '271456', '271425', '271467', '271453', '271451', '271447', '271434', '271442', '271463', '271407', '271413']
NM Updated by Nitzan Mordechai 6 months ago
/a/yuriw-2026-06-12_16:41:17-upgrade-wip-pdonnell-testing-20260612.133827-tentacle-distro-default-trial
['287526', '287605', '287723', '287769', '287773', '287788', '287830', '287844', '288196', '288206', '287537', '287594', '287684', '287958', '287984', '287547', '287591', '287616', '287641', '287652', '287666', '287691', '287702', '287712', '287734', '287748', '287756', '287765', '287776', '287809', '287819', '287876', '287923', '287980', '288052', '288074', '288096', '288135', '288146', '288171', '288185', '288199', '288202', '288227', '288238', '288259']
NM Updated by Nitzan Mordechai 6 months ago
/a/pdonnell-2026-06-13_16:37:37-upgrade-wip-pdonnell-testing-20260613.133611-tentacle-distro-default-trial/
['291655', '291659', '291668', '291674', '291677', '291680', '291690', '291694', '291697', '291711', '291714', '291717', '291724', '291742', '291746', '291755', '291770', '291779', '291783', '291789', '291792', '291795', '291798', '291815', '291819', '291830', '291833', '291839', '291842', '291853', '291866', '291870', '291873', '291876', '291885', '291888', '291662', '291752', '291812', '291836', '291849', '291894']
AM Updated by Aishwarya Mathuria 4 months ago · Edited
Seen in umbrella RC upgrade testing:
/a//yuriw-2026-08-08_21:03:31-upgrade-umbrella-release-distro-default-trial/448691
We might need to add unfound objects to the ignorelist as well:
2026-08-09T17:54:17.015 INFO:teuthology.orchestra.run.trial023.stdout:2026-08-09T16:10:00.000112+0000 mon.a (mon.0) 918 : cluster [ERR] pg 6.2 has 1168 unfound objects . . . failure_reason: '"2026-08-09T16:10:00.000112+0000 mon.a (mon.0) 918 : cluster [ERR] pg 6.2 has 1168 unfound objects" in cluster log'
The test's log-ignorelist has OBJECT_UNFOUND:
log-ignorelist:
- \(MDS_ALL_DOWN\)
- \(MDS_UP_LESS_THAN_MAX\)
- do not have an application enabled
- application not enabled
- or freeform for custom applications
- POOL_APP_NOT_ENABLED
- is down
- OSD_DOWN
- mons down
- mon down
- MON_DOWN
- out of quorum
- PG_AVAILABILITY
- PG_DEGRADED
- Reduced data availability
- Degraded data redundancy
- pg .* is stuck inactive
- pg .* is stuck undersized
- pg .* is .*degraded
- FS_DEGRADED
- OSDMAP_FLAGS
- OSD_UPGRADE_FINISHED
- pg .* is stuck peering
- Replacing daemon mds
- MDS_ALL_DOWN
- MDS_UP_LESS_THAN_MAX
- filesystem is offline
- with fewer MDS than max_mds
- filesystem is degraded
- osds down
- osd down
- OBJECT_UNFOUND
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-02-05T16:19:48+00:00 to 2026-08-27T18:25:27+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~1321
- Upkeep Timestamp changed from 2026-08-27T18:25:27+00:00 to 2026-10-24T01:14:33+00:00
UB Updated by Upkeep Bot 30 days ago
- Released In changed from v21.2.0~1321 to v21.2.0~1322
- Upkeep Timestamp changed from 2026-10-24T01:14:33+00:00 to 2026-11-04T01:08:30+00:00