From e3a9113e7025f1e3a3130ec1e2d565f37bf3d2dc Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 19 Oct 2017 16:29:39 -0500 Subject: [PATCH] ceph-volume: the metadata field for the lv path is lv_path not path Signed-off-by: Andrew Schoen --- src/ceph-volume/ceph_volume/devices/lvm/zap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/zap.py b/src/ceph-volume/ceph_volume/devices/lvm/zap.py index 79db8c55331..e5d1ebcc6e7 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/zap.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/zap.py @@ -51,7 +51,7 @@ class Zap(object): lv = api.get_lv_from_argument(device) if lv: # we are zapping a logical volume - path = lv.path + path = lv.lv_path else: # we are zapping a partition #TODO: ensure device is a partition -- 2.39.5