]> 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)
committerAdam King <adking@redhat.com>
Tue, 9 Feb 2021 02:53:34 +0000 (21:53 -0500)
commit6fc6db23bf72d5d488fa983a7fd2491c5a9805d3
tree8e5d6ea82851a298eebe0f205bf90cda962cd91f
parent1f6f9b24e4f43229436881a9b14464c3e5e73b0e
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>
src/pybind/mgr/cephadm/module.py