From: Dimitri Savineau Date: Tue, 15 Dec 2020 20:08:00 +0000 (-0500) Subject: ceph-validate: check db/journal/wal devices too X-Git-Tag: v6.0.12~22 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=80d5bff7e5c14bbf6fa738d1dccc765771c61512;p=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 (cherry picked from commit 808e7106dec5f3f7a743fe343ba3023c9390a1ba) --- diff --git a/roles/ceph-validate/tasks/check_devices.yml b/roles/ceph-validate/tasks/check_devices.yml index 6fa218942..e68e6a733 100644 --- a/roles/ceph-validate/tasks/check_devices.yml +++ b/roles/ceph-validate/tasks/check_devices.yml @@ -38,6 +38,8 @@ failed_when: False with_items: - "{{ devices | default([]) }}" + - "{{ dedicated_devices | default([]) }}" + - "{{ bluestore_wal_devices | default([]) }}" - "{{ lvm_volumes_data_devices | default([]) }}" - name: fail if one of the devices is not a device