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: v4.0.61~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d6f3e6eac35a604a41fc397fdb1c4aaca27b4749;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