]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: redeploy daemons deployed using old image during upgrade
authorAdam King <adking@redhat.com>
Thu, 11 Feb 2021 16:43:01 +0000 (11:43 -0500)
committerSage Weil <sage@newdream.net>
Wed, 24 Mar 2021 02:59:30 +0000 (21:59 -0500)
commit62415e7114b56d6f4234f25c902dec2bc9f25b4b
tree57c3278105d8727ca45275b56f0525526be250a6
parent497703cf62735efe10b17f16b1de0efff9779b55
mgr/cephadm: redeploy daemons deployed using old image during upgrade

Add extra check that daemons were deployed by mgr using new image
during upgrade. Makes sure unit.run file for all daemons are updated
if they changed between old and new images.

Fixes: https://tracker.ceph.com/issues/49013
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 83f0ca9ea02d51d3311ae60d6805fea7c2546b3d)
src/pybind/mgr/cephadm/tests/test_upgrade.py
src/pybind/mgr/cephadm/upgrade.py
src/pybind/mgr/cephadm/utils.py
src/pybind/mgr/orchestrator/_interface.py