mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: do not ignore ceph-disk errors in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1342117pull/837/head
parent
c7d5ef41be
commit
195ee33dcf
|
@ -11,7 +11,6 @@
|
||||||
# failed, this is why we check if the device is a partition too.
|
# failed, this is why we check if the device is a partition too.
|
||||||
- name: automatic prepare osd disk(s) without partitions
|
- name: automatic prepare osd disk(s) without partitions
|
||||||
command: ceph-disk prepare --bluestore --cluster "{{ cluster }}" "/dev/{{ item.key }}"
|
command: ceph-disk prepare --bluestore --cluster "{{ cluster }}" "/dev/{{ item.key }}"
|
||||||
ignore_errors: true
|
|
||||||
register: prepared_osds
|
register: prepared_osds
|
||||||
with_dict: ansible_devices
|
with_dict: ansible_devices
|
||||||
when:
|
when:
|
||||||
|
@ -23,7 +22,6 @@
|
||||||
|
|
||||||
- name: manually prepare osd disk(s)
|
- name: manually prepare osd disk(s)
|
||||||
command: ceph-disk prepare --bluestore --cluster "{{ cluster }}" "{{ item.2 }}"
|
command: ceph-disk prepare --bluestore --cluster "{{ cluster }}" "{{ item.2 }}"
|
||||||
ignore_errors: true
|
|
||||||
with_together:
|
with_together:
|
||||||
- combined_parted_results.results
|
- combined_parted_results.results
|
||||||
- combined_ispartition_results.results
|
- combined_ispartition_results.results
|
||||||
|
|
Loading…
Reference in New Issue