ceph-ansible/roles
David Waiting eba80adb1a 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 3930791cb7)
2019-02-19 19:02:16 +00:00
..
ceph-agent don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-client client: change default pool size 2018-11-29 01:49:05 +00:00
ceph-common Fix uses of default(omit) with string concatenation 2019-02-08 11:01:11 +00:00
ceph-common-coreos don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-config config: remove code related to ceph release prior to luminous 2019-01-24 14:18:34 +00:00
ceph-defaults switch: do not fail on missing key 2019-01-14 18:54:46 +00:00
ceph-docker-common validate: change default value for `radosgw_address` 2018-11-28 23:54:06 +01:00
ceph-facts ceph-default: rm useless condition 2019-01-24 14:18:34 +00:00
ceph-fetch-keys ceph-fetch-keys: refact 2018-10-17 11:26:11 +00:00
ceph-handler handler: show unit logs on error 2018-11-27 12:44:15 +00:00
ceph-infra setup_ntp: call handler to disable ntpd if chronyd used 2019-02-15 09:09:36 +00:00
ceph-iscsi-gw iscsi: fix permission denied error 2019-02-11 16:17:44 +00:00
ceph-mds Fix uses of default(omit) with string concatenation 2019-02-08 11:01:11 +00:00
ceph-mgr Fix uses of default(omit) with string concatenation 2019-02-08 11:01:11 +00:00
ceph-mon switch: do not fail on missing key 2019-01-14 18:54:46 +00:00
ceph-nfs The nfs_ganesha_dev_apt_repo variable was set incorrect in task 2019-01-07 08:03:19 +00:00
ceph-osd ensure at least one osd is up 2019-02-19 19:02:16 +00:00
ceph-rbd-mirror rbd-mirror: enable ceph-rbd-mirror.target 2018-11-09 16:48:35 +01:00
ceph-restapi don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-rgw refact osd pool size customization 2018-11-29 01:49:05 +00:00
ceph-validate/tasks validate: allow stable-3.2 to run with ansible 2.4 2018-11-16 08:57:00 +00:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00