]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume/batch: return success when all devices are filtered 34476/head
authorJan Fajerski <jfajerski@suse.com>
Wed, 8 Apr 2020 09:55:57 +0000 (11:55 +0200)
committerJan Fajerski <jfajerski@suse.com>
Wed, 8 Apr 2020 15:17:56 +0000 (17:17 +0200)
commit112e032fc7c7b47c43356db53e53aabf3f59d58f
tree0703c8a5fc0eea1355f1b176053222ee96ce8558
parente164b827b98f0db9596e9c457a841971af3d52be
ceph-volume/batch: return success when all devices are filtered

batch should only return an error if some (but not all) devices are
filtered. When only some devices are filtered the resulting osd layout
could look very different from what a user expects. If all devies are
filtered just return success.

Fixes: https://tracker.ceph.com/issues/44994
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit cb3eade3d00fdcdb34c4156f3c488bbb8747cd6f)
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/functional/batch/playbooks/test_explicit.yml