]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: emit warning if daemon's image is not to be used 61721/head
authorMatthew Vernon <mvernon@wikimedia.org>
Wed, 28 Aug 2024 15:37:46 +0000 (16:37 +0100)
committerAdam King <adking@redhat.com>
Fri, 7 Feb 2025 21:30:49 +0000 (16:30 -0500)
commitadb1c81b1649eaef64c91512495c1b27939ba38c
tree3df643e157569eebb884ca19770b1a54aca3e1bc
parent89751a32cbbe19c32037d4cb263060aa40fc99fc
cephadm: emit warning if daemon's image is not to be used

If an image is not specified, cephadm shell will use the image
corresponding to a Ceph daemon running on the host (and will log a
debug message to that effect).

However, it will only use that image if it appears in the output of:

podman images --filter label=ceph=True --filter dangling=false

This commit means that cephadm will emit a warning if the container
image it was going to use fails this check, so the operator has more
of a clue to what is going on.

Fixes: https://tracker.ceph.com/issues/67778
Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
(cherry picked from commit b863c93ef1a1ce85164584dd17c5e71441bc550f)
src/cephadm/cephadm.py