From a76fccba5ff0058d0dd1ba47f48b34dba27dd51f Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 28 Aug 2018 14:28:08 -0700 Subject: [PATCH] ceph-volume lvm.batch remove non-existent sys_api property Signed-off-by: Alfredo Deza --- src/ceph-volume/ceph_volume/devices/lvm/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/batch.py b/src/ceph-volume/ceph_volume/devices/lvm/batch.py index c38613f09f6..1c52278c52c 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/batch.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/batch.py @@ -15,7 +15,7 @@ def device_formatter(devices): for path, details in devices: lines.append(device_list_template.format( path=path, size=details['human_readable_size'], - state='solid' if details.sys_api['rotational'] == '0' else 'rotational') + state='solid' if details['rotational'] == '0' else 'rotational') ) return ''.join(lines)