]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Check ceph_health_raw.stdout value as string during mon bootstrap v4.0.0rc2
authorfpantano <fpantano@redhat.com>
Wed, 3 Apr 2019 16:35:10 +0000 (18:35 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 4 Apr 2019 17:15:55 +0000 (19:15 +0200)
commitf8cbc27a83b95124202fb4264fa13e7f4bbb67c1
treec2cbebc35f6b4f2befd5077651815131a68c4783
parentace23a14790f8d937afa7414a0a06fee60319110
Check ceph_health_raw.stdout value as string during mon bootstrap

According to rdo testing https://review.rdoproject.org/r/#/c/18721
a check on the output of the ceph_health value is added to
allow the playbook to make several attempts (according to the
retry/delay variables) when waiting the cluster quorum or
when the container bootstrap is not ended.
It avoids the failure of the command execution when it doesn't
receive a valid json object to decode (because cluster is too
slow to boostrap compared to ceph-ansible task execution).

Signed-off-by: fpantano <fpantano@redhat.com>
(cherry picked from commit afbb90e4acb6e0bacddf52bb512bef74b013fa68)
roles/ceph-mon/tasks/ceph_keys.yml