]> git-server-git.apps.pok.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>
Tue, 16 Apr 2019 09:14:21 +0000 (11:14 +0200)
commitf8b69694ccaead39ccf54f31489a7fda791e1cdb
treeac494e5f741df99ee09603a5454f370a6269f4be
parent1c3fbe5a60e63c2ad1edb96e8791cb475c34c4f7
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>
(cherry picked from commit edf1ee20739289c7a62588b563a64d631be3f79b)
roles/ceph-mon/tasks/deploy_monitors.yml