From: Dominik Csapak Date: Tue, 28 May 2019 14:29:21 +0000 (+0200) Subject: ceph-volume lvm.zap fix cleanup for db partitions X-Git-Tag: v14.2.5~256^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30304%2Fhead;p=ceph.git ceph-volume lvm.zap fix cleanup for db partitions this uses the correct type 'db' for db type partitions, else a block.db parition does not get cleaned up by ceph-volume zap Signed-off-by: Dominik Csapak (cherry picked from commit 140af8a7eee8d230ac9d94ba100320a20c137a12) --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/zap.py b/src/ceph-volume/ceph_volume/devices/lvm/zap.py index 328a036152e..9a7a103adab 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/zap.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/zap.py @@ -77,7 +77,7 @@ def ensure_associated_lvs(lvs): wal_lvs = lvs._filter(lv_tags={'ceph.type': 'wal'}) backing_devices = [ (journal_lvs, 'journal'), - (db_lvs, 'block'), + (db_lvs, 'db'), (wal_lvs, 'wal') ]