]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.batch use the abspath attribute for Device objects in bluestore
authorAlfredo Deza <adeza@redhat.com>
Wed, 29 Aug 2018 16:56:21 +0000 (09:56 -0700)
committerAlfredo Deza <adeza@redhat.com>
Wed, 29 Aug 2018 16:56:21 +0000 (09:56 -0700)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py

index 5011922f19a25cdfa04fa42dbfe72e5b24ad3319..7b6052607af3bdb8e7c8c4c8689cce1d541d25cd 100644 (file)
@@ -181,7 +181,7 @@ class MixedType(object):
             osds.append(osd)
 
         self.computed['vgs'] = [{
-            'devices': [d['path'] for d in self.ssds],
+            'devices': [d.abspath for d in self.ssds],
             'parts': self.db_lvs,
             'percentages': self.vg_extents['percentages'],
             'sizes': self.vg_extents['sizes'],