]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: use image id, not name, when inspecting for RepoDigests
authorSage Weil <sage@newdream.net>
Thu, 11 Mar 2021 21:56:52 +0000 (16:56 -0500)
committerSage Weil <sage@newdream.net>
Thu, 11 Mar 2021 22:00:20 +0000 (17:00 -0500)
commitf6e802a0d865f64c5e408bdef8e6c3153b1e9842
tree56508f7a4bfefb6ab58ec0bca6a9fa0dcab538a5
parent14f6007dd79f7760ed69ab4cbed06486ab924fe2
cephadm: use image id, not name, when inspecting for RepoDigests

The name is ambiguous, but the image_id is not!  This fixes problems
during upgrade where upgrade thinks the container is upgraded (due to
an incorrect digest) when in fact it is not.

Fixes: 0826c45e0cb5d60fcf8cd71cd14edd34a6997cd4
Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm