ceph-ansible/roles/ceph-osd/tasks/scenarios
Sébastien Han 42ffe63017 osd: autodiscovery mode, use holders to detect device
As reported in
https://github.com/ceph/ceph-ansible/issues/1403 when devices are held
by lvm and `osd_auto_discovery` is set to true, it's not enough to check
for a partition count = 0 since Ansible does not report.
This patch also looks for 'holders' which in a case of lvm corresponds
to the name of the pv. Now we also look for holders = 0.

Fixes: #1403

Signed-off-by: Sébastien Han <seb@redhat.com>
2017-04-04 10:37:14 +02:00
..
bluestore.yml osd: autodiscovery mode, use holders to detect device 2017-04-04 10:37:14 +02:00
dmcrypt-dedicated-journal.yml osd: clarify osd scenario prepare sequence 2017-02-01 13:59:35 +01:00
dmcrypt-journal-collocation.yml osd: autodiscovery mode, use holders to detect device 2017-04-04 10:37:14 +02:00
journal_collocation.yml osd: autodiscovery mode, use holders to detect device 2017-04-04 10:37:14 +02:00
osd_directory.yml osd: clarify osd scenario prepare sequence 2017-02-01 13:59:35 +01:00
raw_multi_journal.yml osd: clarify osd scenario prepare sequence 2017-02-01 13:59:35 +01:00