]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: only bootstrap using image that matches cephadm version 40322/head
authorSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 22:05:16 +0000 (18:05 -0400)
committerSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 22:05:16 +0000 (18:05 -0400)
commit1b5a068ddfc84002cefb384ea01e97b5300408a1
tree2152ef9c87ad1399e88aacca449d841c981c2485
parentccbf40317fc78d04a521ac83397bfd139d2bf9d8
cephadm: only bootstrap using image that matches cephadm version

Only allow bootstrap to deploy if the cephadm version matches the
ceph version in the container.  Allow the master branch version of cephadm
to deploy the latest stable version as well (at least for now).

Provide a flag to force bootstrap to continue despite the check.

Move the _pull_image call up into bootstrap so that it is easier to see
when it happens.

Fixes: https://tracker.ceph.com/issues/49884
Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm