mirror of https://github.com/ceph/ceph-ansible.git
Remove 'run_once: true' from wait 'for all osd to be up' task in ceph-osd/tasks/main.yml role.
This together with condition 'ansible_play_hosts_all | last' causes skipping that task on the first host. Signed-off-by: RPietrzak <rp.pietrzak@gmail.com>pull/5760/head v3.2.50
parent
e08a5fe555
commit
84edd510d7
|
@ -114,7 +114,6 @@
|
||||||
delay: "{{ delay_wait_osd_up }}"
|
delay: "{{ delay_wait_osd_up }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||||
run_once: true
|
|
||||||
until:
|
until:
|
||||||
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] | int > 0
|
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] | int > 0
|
||||||
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] == (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_up_osds"]
|
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] == (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_up_osds"]
|
||||||
|
|
Loading…
Reference in New Issue