mirror of https://github.com/ceph/ceph-ansible.git
ceph-validate: check db/journal/wal devices too
When using dedicated devices for db/journal/wal objecstore with
ceph-volume lvm batch then we should also validate that those devices
exist and don't use a gpt partition table in addition of the devices
and lvm_volume.data variables.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 808e7106de
)
pull/6749/head
parent
fe070fc19d
commit
ceca225344
|
@ -38,6 +38,8 @@
|
||||||
failed_when: False
|
failed_when: False
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ devices | default([]) }}"
|
- "{{ devices | default([]) }}"
|
||||||
|
- "{{ dedicated_devices | default([]) }}"
|
||||||
|
- "{{ bluestore_wal_devices | default([]) }}"
|
||||||
- "{{ lvm_volumes_data_devices | default([]) }}"
|
- "{{ lvm_volumes_data_devices | default([]) }}"
|
||||||
|
|
||||||
- name: fail if one of the devices is not a device
|
- name: fail if one of the devices is not a device
|
||||||
|
|
Loading…
Reference in New Issue