]> git-server-git.apps.pok.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>
Sat, 10 Apr 2021 13:07:03 +0000 (08:07 -0500)
commit1f7c13a11e3597edb88b50a9f23a352e83fb24a5
tree53ced48545114728ac40016e24fc85972cb9f16a
parent3d5531fa3f9f2c7d8d1bc0ab80402fc3665cefd7
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>
(cherry picked from commit 38f84520eefaba14d4f4ae5572ea948819a3fd7d)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_upgrade.py
src/pybind/mgr/cephadm/upgrade.py