]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/devicehealth: skip legacy objects that cannot be loaded 54987/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Dec 2023 13:48:33 +0000 (08:48 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 10 Jan 2024 19:52:37 +0000 (14:52 -0500)
commit5e6fc0bf5f52732966d5cf2987e679abee8a384d
treeaae3af6d6c691d2d8ffa85915697434c2b18ead2
parentaa30adbaa7616c8e24b3ccaad9dbcda7c0c663fc
pybind/mgr/devicehealth: skip legacy objects that cannot be loaded

Log looks like after test:

    2023-12-21T16:09:28.804+0000 7fbe7fd86700  0 [devicehealth DEBUG root] loading object ABC_DEADB33F_FA
    2023-12-21T16:09:28.805+0000 7fbe7fd86700  0 [devicehealth DEBUG root] object rados.Object(ioctx=<rados.Ioctx object at 0x7fbeee0c4668>,key=ABC_DEADB33F_FA,nspace=--default--,locator=None) does not exist because it is deleted in HEAD
    2023-12-21T16:09:28.805+0000 7fbe7fd86700  0 [devicehealth DEBUG root] finished reading legacy pool, complete = True

Credit to Greg Farnum for postulating the cause.

Fixes: https://tracker.ceph.com/issues/63882
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/devicehealth/module.py