Commit ac0342b7 authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Guillaume Abrioux
Browse files

ceph-validate: check devices from lvm_volumes

2888c082 introduced a regression as the check_devices tasks file was
only included based on the devices variable.
But that file also validate some devices from the lvm_volumes variable.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1906022

Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
parent 9758e3c5
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
unit: MiB unit: MiB
register: devices_parted register: devices_parted
failed_when: False failed_when: False
with_items: "{{ devices }}" with_items: "{{ devices | default([]) }}"
- name: fail if one of the devices is not a device - name: fail if one of the devices is not a device
fail: fail:
......
...@@ -144,7 +144,6 @@ ...@@ -144,7 +144,6 @@
when: when:
- osd_group_name in group_names - osd_group_name in group_names
- not osd_auto_discovery | default(False) | bool - not osd_auto_discovery | default(False) | bool
- devices|default([])|length > 0
- name: include check_eth_mon.yml - name: include check_eth_mon.yml
include_tasks: check_eth_mon.yml include_tasks: check_eth_mon.yml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment