]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osds: wait for osds to be up before creating pools
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Jun 2018 08:38:46 +0000 (10:38 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Jun 2018 13:46:52 +0000 (15:46 +0200)
commit9d5265fe11fb5c1d0058525e8508aba80a396a6b
tree5dc78a57137fb1b249364749142b9c2d5d067342
parent0b67f42feb95594fb403908d61383dc25d6cd342
osds: wait for osds to be up before creating pools

This is a follow up on #2628.
Even with the openstack pools creation moved later in the playbook,
there is still an issue because OSDs are not all UP when trying to
create pools.

Adding a task which checks for all OSDs to be UP with a `retries/until`
condition should definitively fix this issue.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1578086
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/tasks/openstack_config.yml