]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: do not use dm when osd_auto_discovery
authorSébastien Han <seb@redhat.com>
Wed, 8 Nov 2017 00:33:10 +0000 (11:33 +1100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 8 Nov 2017 11:08:54 +0000 (12:08 +0100)
commitd4ca696b5829a7e6bc0e63675fdfe6935ba1e744
tree274d5dbe91d07b6ebba1c269015cda40b9c03d58
parent87a4cbd1d2dd040e3f6f6d5fc0e03fd01c530d74
osd: do not use dm when osd_auto_discovery

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 <seb@redhat.com>
(cherry picked from commit 0930f149154151e19dfc85917b1d8acf19234d33)
roles/ceph-osd/tasks/main.yml