]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support zapping by osd-id for RAW OSDs 60487/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 18 Oct 2024 08:56:32 +0000 (08:56 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 30 Oct 2024 08:26:15 +0000 (08:26 +0000)
commit57c14b4f5982c3dd05ac8387004a2dcafa954794
tree3cc7569d9e6bb16c9728724372d7b6c978122bf4
parent0895c95e88455061e9813c693205822fdc871755
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>
(cherry picked from commit 4941d098e337f2b7ad8c6f7c90be3ae252d22f7b)
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