]> 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)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 29 Aug 2018 19:41:55 +0000 (14:41 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b2a62c2b13d3e079f8020865b7c41f0f6c4b5d71)

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'],