]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ensure at least one osd is up
authorDavid Waiting <david_waiting@cable.comcast.com>
Mon, 10 Dec 2018 14:54:18 +0000 (09:54 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 19 Feb 2019 19:02:16 +0000 (19:02 +0000)
commiteba80adb1a01f92bc4e76d3fdfdf07dc840b3e14
tree1f0979aedfac1efd4ca2239eb7e7e3651bd24750
parent2c1a690774dd4685e16c142684f6402e91a53858
ensure at least one osd is up

The existing task checks that the number of OSDs is equal to the number of up OSDs before continuing.

The problem is that if none of the OSDs have been discovered yet, the task will exit immediately and subsequent pool creation will fail (num_osds = 0, num_up_osds = 0).

This is related to Bugzilla 1578086.

In this change, we also check that at least one OSD is present. In our testing, this results in the task correctly waiting for all OSDs to come up before continuing.

Signed-off-by: David Waiting <david_waiting@comcast.com>
(cherry picked from commit 3930791cb7d2872e3388d33713171d7a0c1951e8)
roles/ceph-osd/tasks/openstack_config.yml