]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-validate: check db/journal/wal devices too
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 15 Dec 2020 20:08:00 +0000 (15:08 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 2 Jul 2021 20:21:20 +0000 (22:21 +0200)
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 808e7106dec5f3f7a743fe343ba3023c9390a1ba)

roles/ceph-validate/tasks/check_devices.yml

index 6fa21894203884e68f04dc17a990ee5d3b496866..e68e6a733168a9e9941a715075e93abc98be7de2 100644 (file)
@@ -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