Skip to content

Commit 64f5bff

Browse files
authored
Merge pull request ceph#59348 from zdover23/wip-doc-2024-08-20-rados-ops-cache-tiering
doc/rados: document unfound object cache-tiering scenario Reviewed-by: Anthony D'Atri <[email protected]>
2 parents 8603e0c + f01d7a8 commit 64f5bff

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

doc/rados/operations/cache-tiering.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,63 @@ disable and remove it.
549549

550550
ceph osd tier remove cold-storage hot-storage
551551

552+
Troubleshooting Unfound Objects
553+
===============================
554+
Under certain circumstances, restarting OSDs may result in unfound objects.
555+
556+
Here is an example of unfound objects appearing during an upgrade from Ceph
557+
14.2.6 to Ceph 14.2.7::
558+
559+
2/543658058 objects unfound (0.000%)
560+
pg 19.12 has 1 unfound objects
561+
pg 19.2d has 1 unfound objects
562+
563+
Possible data damage: 2 pgs recovery_unfound
564+
pg 19.12 is active+recovery_unfound+undersized+degraded+remapped, acting [299,310], 1 unfound
565+
pg 19.2d is active+recovery_unfound+undersized+degraded+remapped, acting [290,309], 1 unfound
566+
567+
# ceph pg 19.12 list_unfound
568+
{
569+
"num_missing": 1,
570+
"num_unfound": 1,
571+
"objects": [
572+
{
573+
"oid": {
574+
"oid": "hit_set_19.12_archive_2020-02-25 13:43:50.256316Z_2020-02-25 13:43:50.325825Z",
575+
"key": "",
576+
"snapid": -2,
577+
"hash": 18,
578+
"max": 0,
579+
"pool": 19,
580+
"namespace": ".ceph-internal"
581+
},
582+
"need": "3312398'55868341",
583+
"have": "0'0",
584+
"flags": "none",
585+
"locations": []
586+
}
587+
],
588+
"more": false
589+
590+
Some tests in the field indicate that the unfound objects can be deleted with
591+
no adverse effects (see `Tracker Issue #44286, Note 3
592+
<https://tracker.ceph.com/issues/44286#note-3>`_). Pawel Stefanski suggests
593+
that deleting missing or unfound objects is safe as long as the objects are a
594+
part of ``.ceph-internal::hit_set_PGID_archive``.
595+
596+
Various members of the upstream Ceph community have reported in `Tracker Issue
597+
#44286 <https://tracker.ceph.com/issues/44286>`_ that the following versions of
598+
Ceph have been affected by this issue:
599+
600+
* 14.2.8
601+
* 14.2.16
602+
* 15.2.15
603+
* 16.2.5
604+
* 17.2.7
605+
606+
See `Tracker Issue #44286 <https://tracker.ceph.com/issues/44286>`_ for the
607+
history of this issue.
608+
552609

553610
.. _Create a Pool: ../pools#create-a-pool
554611
.. _Pools - Set Pool Values: ../pools#set-pool-values

0 commit comments

Comments
 (0)