]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: call prepare_create before redeploy
authorAdam King <adking@redhat.com>
Thu, 28 Jan 2021 18:32:01 +0000 (13:32 -0500)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 23 Feb 2021 09:59:23 +0000 (10:59 +0100)
commit7bcecc244c3f805b815500eb2187220dfa87c93e
tree091d9951aaa94efe5bda52cf100cb04c3bc27163
parentd26bbeef65b7aeb6a0a3bf4ce3364657e81454c5
mgr/cephadm: call prepare_create before redeploy

some services (notably iscsi and ha-rgw currently) rely
on actions in prepare_create to setup their configuration
even when being redeployed. This change makes sure prepare_create
is called before redeploys and reconfigurations the same way it is
done during initial deployment to avoid disrepencies. OSDs are
skipped as they do not have a normal prepare_create

Fixes: https://tracker.ceph.com/issues/48373
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6fc6db23bf72d5d488fa983a7fd2491c5a9805d3)
src/pybind/mgr/cephadm/module.py