]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm_adopt: fetch and write ceph minimal config
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Mar 2021 09:07:27 +0000 (10:07 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Mar 2021 07:51:59 +0000 (08:51 +0100)
commitc296824ae0ef007af30a13217bd307f5fb4d20f0
treea9ec4d623068463af13623cd4a1696c2570de28f
parent688e432c3220913c2e3849a92e42c8d5f853b032
cephadm_adopt: fetch and write ceph minimal config

This commit makes the playbook fetch the minimal current ceph
configuration and write it later on monitoring nodes so `cephadm` can
proceed with the adoption.
When a monitoring stack was deployed on a dedicated node, it means no
`ceph.conf` file was written, `cephadm` requires a `ceph.conf` in order
to adopt the daemon present on the node.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1939887
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit b445df047931e53b1fe047313333bd873673e982)
infrastructure-playbooks/cephadm-adopt.yml