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: v13.2.7~178^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4c041b3fc7c1714bfdcfc580cecd4ff377b5582b;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 a8a6a8bb5c5..a6341771d2a 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') ]