]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mon: check if an initial monitor keyring already exists
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 Jan 2019 09:11:26 +0000 (10:11 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 15 Apr 2019 08:00:50 +0000 (10:00 +0200)
commitedf1ee20739289c7a62588b563a64d631be3f79b
treea5c7dc4df13b8c9cd08976b47d7ec9523a0a0134
parenteb658b3af6f77ac7206294f20cd39c62022d1140
mon: check if an initial monitor keyring already exists

When adding a new monitor, we must reuse the existing initial monitor
keyring. Otherwise, the new monitor will issue its 'mkfs' with a new
monitor keyring and it will result with a mismatch between them. The
new monitor will be unable to join the quorum in the end.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-authored-by: Rishabh Dave <ridave@redhat.com>
roles/ceph-mon/tasks/deploy_monitors.yml