ceph-ansible/library
Andrew Schoen 59524c7246 ceph-volume: be idempotent when the batch strategy changes
If you deploy with 2 HDDs and 1 SDD then each subsequent deploy both
HDD drives will be filtered out, because they're already used by ceph.
ceph-volume will report this as a 'strategy change' because the device
list went from a mixed type of HDD and SDD to a single type of only SDD.

This situation results in a non-zero exit code from ceph-volume. We want
to handle this situation gracefully and report that nothing will be changed.
A similar json structure to what would have been given by ceph-volume is
returned in the 'stdout' key.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1650306

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit e13f32c1c5)
2018-11-27 00:23:21 +00:00
..
__init__.py tests for the ceph_volume module 2017-12-11 09:58:06 -06:00
ceph_crush.py add ceph_crush module 2018-03-06 15:24:31 +00:00
ceph_facts Update provided facts key to return ansible_facts key 2014-03-11 11:12:41 +00:00
ceph_key.py Fix problem with ceph_key in python3 2018-10-26 15:29:37 +02:00
ceph_volume.py ceph-volume: be idempotent when the batch strategy changes 2018-11-27 00:23:21 +00:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
igw_gateway.py resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
igw_lun.py resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
igw_purge.py igw: add support for IPv6 2018-11-13 17:35:58 +00:00
test_ceph_crush.py add ceph_crush module 2018-03-06 15:24:31 +00:00
test_ceph_key.py add ceph_key module 2018-04-11 12:18:34 +02:00
test_ceph_volume.py ceph_volume: add container support for batch 2018-10-29 18:31:17 +01:00
validate library: add a placeholder module for the validate action plugin 2018-05-18 17:58:24 +02:00