]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerAdam King <adking@redhat.com>
Tue, 17 May 2022 14:25:59 +0000 (10:25 -0400)
commitb35b0d6ce394485a29b7bc7bd7b3aa3d73e001f9
tree59cf40a045ba0be856a2255cd9b5447695446434
parentb4aa61c371399c019c1f42924a7c7eee5ae2b02d
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>
(cherry picked from commit 7f007e7fc75b4d6e7465c684f7e5b2458883dcc5)
src/ceph-volume/ceph_volume/devices/lvm/zap.py