From bd66017d466ef0bea71b377fcb00513dbc54ea6f Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Mon, 13 Feb 2023 17:12:41 +0100 Subject: [PATCH] devices: exclude db disks on osd_auto_discovery enabled Exclude disks were defined in dedicated_devices and bluestore_wal_devices on osd_auto_discovery enabled. Signed-off-by: Seena Fallah (cherry picked from commit 32b56785116eb47297df282bab1543507fc62b43) --- roles/ceph-facts/tasks/devices.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-facts/tasks/devices.yml b/roles/ceph-facts/tasks/devices.yml index d19751eb5..f981ced91 100644 --- a/roles/ceph-facts/tasks/devices.yml +++ b/roles/ceph-facts/tasks/devices.yml @@ -62,3 +62,5 @@ - item.value.holders|count == 0 - ansible_facts['mounts'] | selectattr('device', 'equalto', device) | list | length == 0 - item.key is not match osd_auto_discovery_exclude + - device not in dedicated_devices | default([]) + - device not in bluestore_wal_devices | default([]) -- 2.47.3