]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Do not prepare skipped disks
authorChris St. Pierre <chris.a.st.pierre@gmail.com>
Wed, 24 Feb 2016 16:25:26 +0000 (10:25 -0600)
committerChris St. Pierre <chris.a.st.pierre@gmail.com>
Wed, 24 Feb 2016 20:50:37 +0000 (14:50 -0600)
commit8dcc8029761f39f9ad10b1b119a486f62398af0a
tree9bd1b95bda6b7e243aa934ada22ec9cfdf0862b2
parente9f3e792b03d36a6bd6837762465c54a45a5dfcb
Do not prepare skipped disks

When autodiscovering disks, disks can be skipped if either they are
removable, or if they have partitions on them. Skipped actions have no
'rc' attribute, though, so the 'ceph prepare' conditional fails unless
we first check to ensure that the results were not skipped before
checking the return value.
roles/ceph-osd/tasks/activate_osds.yml
roles/ceph-osd/tasks/scenarios/journal_collocation.yml
roles/ceph-osd/tasks/scenarios/raw_multi_journal.yml