]> git-server-git.apps.pok.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:56:48 +0000 (11:56 -0500)
commit456c073797cbf68fd99fa80290a459e978892a85
treeefd8748f2902b2b767cc2a65f38699825856c08a
parentc06e3cb9def198fa3a6d319d3c63f429510209db
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