]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/upgrade: normalize unqualified target image
authorSage Weil <sage@newdream.net>
Tue, 6 Apr 2021 13:36:31 +0000 (09:36 -0400)
committerSage Weil <sage@newdream.net>
Fri, 9 Apr 2021 20:53:37 +0000 (16:53 -0400)
commit38f84520eefaba14d4f4ae5572ea948819a3fd7d
tree64c657a5cff1697bab6ba7e8172494ffcb2643b1
parent94a0af289c594a238fce1f393d4f4ec392258138
mgr/cephadm/upgrade: normalize unqualified target image

If we get an unqualified target image, assume it's docker.io.  This
ensures that we're passing a fully-qualified target to docker|podman on
the various hosts and don't end up with something different based on the
per-host search path for unqualified image names.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_upgrade.py
src/pybind/mgr/cephadm/upgrade.py