]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: update volume's tags structure when setting tags 31227/head
authorMohamad Gebai <mgebai@suse.com>
Tue, 2 Apr 2019 10:45:02 +0000 (06:45 -0400)
committerJan Fajerski <jfajerski@suse.com>
Tue, 29 Oct 2019 16:37:09 +0000 (17:37 +0100)
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
(cherry picked from commit 4a1198deffb0baf647a6a31e03cbfe98f011ff14)

src/ceph-volume/ceph_volume/api/lvm.py

index d9aeae97c388c124eaa8a168251d7b36d79441d4..d8199a60d5a9529c953fe9fd07d5780e5f95214d 100644 (file)
@@ -1196,6 +1196,7 @@ class Volume(object):
                 '--addtag', '%s=%s' % (key, value), self.lv_path
             ]
         )
+        self.tags[key] = value
 
 
 class PVolume(object):