From: Alfredo Deza Date: Fri, 7 Sep 2018 18:11:33 +0000 (-0400) Subject: ceph-volume lvm.batch fix error reporting, Device objects aren't strings X-Git-Tag: v14.0.1~344^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=267a386cc270081b2cd284bf78bf94b52be113dc;p=ceph-ci.git ceph-volume lvm.batch fix error reporting, Device objects aren't strings Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/batch.py b/src/ceph-volume/ceph_volume/devices/lvm/batch.py index 4086064f5bd..c6f8a904647 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/batch.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/batch.py @@ -142,7 +142,8 @@ class Batch(object): strategy.report_pretty() terminal.info('The above OSDs would be created if the operation continues') if not prompt_bool('do you want to proceed? (yes/no)'): - terminal.error('aborting OSD provisioning for %s' % ','.join(args.devices)) + devices = ','.join([device.abspath for device in args.devices]) + terminal.error('aborting OSD provisioning for %s' % devices) raise SystemExit(0) strategy.execute()