]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: speed up upgrade when using agent
authorAdam King <adking@redhat.com>
Thu, 2 Dec 2021 13:27:10 +0000 (08:27 -0500)
committerAdam King <adking@redhat.com>
Wed, 15 Dec 2021 16:43:16 +0000 (11:43 -0500)
commitbf2c4408aeb9e2b92d495c09514b73e59e8e5187
tree0bcc0a5606a0be0e58743f8edb7ce151bc2fc10b
parent44d706c353865abc44e284bd684f5328031579c9
mgr/cephadm: speed up upgrade when using agent

Returning completely from the upgrade procedure when
any hosts at all don't have their metadata up-to-date
is unnecessarily strict. We can just skip daemons
specifically on hosts where the metadata is not up-to-date
and then just make sure the metadata is up-to-date on all
hosts before calling the upgrade complete

Fixes: https://tracker.ceph.com/issues/53598
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/agent.py
src/pybind/mgr/cephadm/upgrade.py