]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: upgrade: fix daemons missing image_id
authorSage Weil <sage@redhat.com>
Thu, 5 Mar 2020 13:52:41 +0000 (07:52 -0600)
committerSage Weil <sage@redhat.com>
Thu, 5 Mar 2020 13:52:41 +0000 (07:52 -0600)
commite8078acf3c07fe33f3501e5b0c2b6dd62f44d144
tree28338640e35bdd5c0f0feb5b4e2ee50b78f228bb
parent2a1d9e97ff726c7bcfc306876baf500c24265e90
mgr/cephadm: upgrade: fix daemons missing image_id

If a daemon isn't running, we don't know the image_id (hash), so we skip.
But it's also possible to have a running daemon that doesn't report an
image_id... like right after we deploy it when the container hasn't
started up yet.  Skip those too.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py