mirror of https://github.com/ceph/ceph-ansible.git
eba80adb1a
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
|
||
---|---|---|
.. | ||
scenarios | ||
activate_osds.yml | ||
build_devices.yml | ||
ceph_disk_cli_options_facts.yml | ||
check_gpt.yml | ||
common.yml | ||
copy_configs.yml | ||
main.yml | ||
openstack_config.yml | ||
start_osds.yml | ||
system_tuning.yml |