]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-volume api.lvm only consider 'ceph.' tags in logical volumes
authorAlfredo Deza <adeza@redhat.com>
Mon, 4 Dec 2017 14:54:35 +0000 (09:54 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 7 Dec 2017 19:55:12 +0000 (14:55 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/api/lvm.py

index 60f977dd86fc9c5f96a81f22795930e482641cfe..df1ec48cd1ab2dfbd24bf21b885cda047569d222 100644 (file)
@@ -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