From: Andrew Schoen Date: Thu, 19 Oct 2017 21:29:39 +0000 (-0500) Subject: ceph-volume: the metadata field for the lv path is lv_path not path X-Git-Tag: v13.0.1~367^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e3a9113e7025f1e3a3130ec1e2d565f37bf3d2dc;p=ceph.git ceph-volume: the metadata field for the lv path is lv_path not path Signed-off-by: Andrew Schoen --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/zap.py b/src/ceph-volume/ceph_volume/devices/lvm/zap.py index 79db8c553318..e5d1ebcc6e7a 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