]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: various fixes in arg_validators
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 11 Mar 2022 09:29:35 +0000 (10:29 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 Mar 2022 21:49:01 +0000 (23:49 +0200)
commit9f4b830dcfb45eda81eabf18a8461ac4e1bf642e
tree43c68e5127f00c888debc91f0d225bf845f8ac3b
parentd43189c17b03420674ea5424666388b8272c2580
ceph-volume: various fixes in arg_validators

if a device with an FS is passed, ceph-volume should abort
the OSD creation.

Fixes: https://tracker.ceph.com/issues/54535
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/devices/lvm/common.py
src/ceph-volume/ceph_volume/devices/lvm/zap.py
src/ceph-volume/ceph_volume/devices/raw/common.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_create.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py
src/ceph-volume/ceph_volume/tests/devices/raw/test_prepare.py
src/ceph-volume/ceph_volume/tests/util/test_arg_validators.py
src/ceph-volume/ceph_volume/util/arg_validators.py
src/ceph-volume/ceph_volume/util/device.py