]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: when all devices are filtered exit gracefully
authorAndrew Schoen <aschoen@redhat.com>
Tue, 9 Oct 2018 18:05:54 +0000 (14:05 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 15 Oct 2018 16:55:54 +0000 (11:55 -0500)
commitce164b42251b23d2b2a280666f3f69efefc7ba30
tree479e1408be8225f2e3b5b4a659b038b9d83e976b
parent872e667f0ca7eb3b2042576cc8d6fe953f766504
ceph-volume: when all devices are filtered exit gracefully

Even if all devices are filtered we want to return a 0 exit code and
make sure the json reporting still works.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit aa4fcd602f8b1a1b17bc12e59334b19508f97d6d)
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py