From ceca2253441fca21e77e8d750a614acaa832a197 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Tue, 15 Dec 2020 15:08:00 -0500 Subject: [PATCH] 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) --- roles/ceph-validate/tasks/check_devices.yml | 2 ++ 1 file changed, 2 insertions(+) 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