Merge pull request #2154 from ceph/fix_auto_discover

osd: avoid using non desired loop device in autodiscovery
pull/2163/head
Guillaume Abrioux 2017-11-10 01:19:20 +01:00 committed by GitHub
commit c06faf2deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
- osd_auto_discovery
- ansible_devices is defined
- item.value.removable == "0"
- item.value.sectors != "0"
- item.value.partitions|count == 0
- item.value.holders|count == 0
- "'dm-' not in item.key"