From 0930f149154151e19dfc85917b1d8acf19234d33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Wed, 8 Nov 2017 11:33:10 +1100 Subject: [PATCH] osd: do not use dm when osd_auto_discovery MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The current code will also return lvm devices such as /dev/dm-2, this kind of device type is not supported by ceph-disk at the moment. Now we just ignore them. Signed-off-by: Sébastien Han --- roles/ceph-osd/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 3025999cd..773ced7ea 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -28,6 +28,7 @@ - item.value.removable == "0" - item.value.partitions|count == 0 - item.value.holders|count == 0 + - "'dm-' not in item.key" - name: include check_devices.yml include: check_devices.yml -- 2.39.5