From: Alfredo Deza Date: Mon, 4 Dec 2017 14:54:35 +0000 (-0500) Subject: ceph-volume api.lvm only consider 'ceph.' tags in logical volumes X-Git-Tag: v13.0.2~873^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7e7df14602a10190a2830262a67202e7ad38f49;p=ceph.git ceph-volume api.lvm only consider 'ceph.' tags in logical volumes Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index d82aee685f7b..13a2d4d65b6a 100644 --- a/src/ceph-volume/ceph_volume/api/lvm.py +++ b/src/ceph-volume/ceph_volume/api/lvm.py @@ -63,6 +63,8 @@ def parse_tags(lv_tags): tag_mapping = {} tags = lv_tags.split(',') for tag_assignment in tags: + if not tag_assignment.startswith('ceph.'): + continue key, value = tag_assignment.split('=', 1) tag_mapping[key] = value