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/6670/head
Dimitri Savineau 2020-12-15 15:08:00 -05:00 committed by Guillaume Abrioux
parent f8ecb08ec2
commit 80d5bff7e5
1 changed files with 2 additions and 0 deletions

View File

@ -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