]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: `lookup_ceph_initial_entities` shouldn't fail on update
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 20 Mar 2019 08:14:17 +0000 (09:14 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 25 Mar 2019 20:02:56 +0000 (16:02 -0400)
commitb4f14aba8e314beaa9c5a84d617e4973b7b599c5
tree34406408ea6e8f514bb30c44fec27740dc7c97fc
parente99305c684d9baa76f02093588b821cca629dc6b
ceph_key: `lookup_ceph_initial_entities` shouldn't fail on update

As of nautilus, the initial keyrings list has changed, it means when
upgrading from Luminous or Mimic, it is expected there's a mismatch
between what is found on the cluster and the expected initial keyring
list hardcoded in ceph_key module. We shouldn't fail when upgrading to
nautilus.

str_to_bool() took from ceph-volume.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-Authored-by: Alfredo Deza <adeza@redhat.com>
library/ceph_key.py
roles/ceph-mon/tasks/ceph_keys.yml