]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: do not leave pv when zapping osds
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 Mar 2022 22:01:39 +0000 (00:01 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 Mar 2022 21:49:01 +0000 (23:49 +0200)
commit7f007e7fc75b4d6e7465c684f7e5b2458883dcc5
treeda37045efbbf92ce45a26c40b0a50e0da588e9a1
parent8aa2f4745adff0ba3c7a0731cf48ccc1c85b33f3
ceph-volume: do not leave pv when zapping osds

when zapping a device and no vg/lv are left, the pv should be
removed too.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/zap.py