Skip to content

Commit

Permalink
ceph-validate: check db/journal/wal devices too
Browse files Browse the repository at this point in the history
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 808e710)
  • Loading branch information
dsavineau authored and guits committed Jul 2, 2021
1 parent 71c0f2d commit b61b20f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/ceph-validate/tasks/check_devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b61b20f

Please sign in to comment.