]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: support zapping by osd-id for RAW OSDs
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 18 Oct 2024 08:56:32 +0000 (08:56 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 25 Oct 2024 07:52:05 +0000 (07:52 +0000)
commit4941d098e337f2b7ad8c6f7c90be3ae252d22f7b
treeaa08327d9e3253d2868c9119db57b891b5e398e1
parenteb6dbeec139c51a4b82c8ba0eb1cc831a349ef2c
ceph-volume: support zapping by osd-id for RAW OSDs

Currently it is only possible to zap by osd-id for LVM-based OSDs.

This commit introduces the required changes in order to support zapping
by osd-id for RAW-based OSDs.

Fixes: https://tracker.ceph.com/issues/68576
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/devices/lvm/zap.py
src/ceph-volume/ceph_volume/devices/raw/list.py
src/ceph-volume/ceph_volume/tests/devices/lvm/data_zap.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/devices/lvm/test_zap.py
src/ceph-volume/ceph_volume/tests/devices/raw/data_list.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/devices/raw/test_list.py
src/ceph-volume/ceph_volume/tests/test_inventory.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py