From: Loic Dachary Date: Wed, 16 Dec 2015 11:30:20 +0000 (+0100) Subject: ceph-disk: log parted output X-Git-Tag: v10.0.3~189^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5d36b9ac299e9f6d52cc32d540cc1c3342de6e7;p=ceph.git ceph-disk: log parted output Should parted output fail to parse, it is useful to get the full output when running in verbose mode. Signed-off-by: Loic Dachary --- diff --git a/src/ceph-disk b/src/ceph-disk index 7c3f7862adb..15df32c7783 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1216,6 +1216,7 @@ def get_free_partition_index(dev): if not lines: raise Error('parted failed to output anything') + LOG.debug('get_free_partition_index: analyzing ' + lines) if ('CHS;' not in lines and 'CYL;' not in lines and 'BYT;' not in lines):