]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: don't collect image ids for daemons with no container info 62935/head
authorAdam King <adking@redhat.com>
Wed, 23 Apr 2025 17:02:13 +0000 (13:02 -0400)
committerAdam King <adking@redhat.com>
Mon, 5 May 2025 15:13:08 +0000 (11:13 -0400)
commit94dbc49e2b1877f798faae19fe5d3e15eea8d0c2
tree5bc069bc19d83edb9d95def8f913b5ac341203d8
parent7e91398b25daa40c97c51030db4695bedb3ca42f
cephadm: don't collect image ids for daemons with no container info

This was missed as part of
https://github.com/ceph/ceph/commit/49405967620c9dbb69a1ea4660af46c240fcd298
as this particular bit seems to only cause an issue
when you pass in --name to shell and the daemon
you pass to --name is not running. That procedure (stopping the daemon
and then passing it's name to shell) is what is used to run tools like
ceph-objectstore-tool and ceph-monstore-tool for debugging

Fixes: https://tracker.ceph.com/issues/70989
NOTE: for the tracker, the actual specific issue this change
fixes is the one shown in https://tracker.ceph.com/issues/70989#note-2
The original reported issue was fixed by the linked commit

Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/cephadmlib/container_lookup.py