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>
Wed, 17 Mar 2021 16:39:12 +0000 (17:39 +0100)
commitb445df047931e53b1fe047313333bd873673e982
treeefd1d88aeeedb80ba1605a6300ef09d65cf23ab6
parentccd1cbb732e25fe364b68a548cbed11da2a91ceb
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>
infrastructure-playbooks/cephadm-adopt.yml