From: Loic Dachary Date: Wed, 16 Dec 2015 11:30:20 +0000 (+0100) Subject: ceph-disk: log parted output X-Git-Tag: v9.2.1~36^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=936dda76ce11baa9f2b7cce882b655550188a731;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 (cherry picked from commit f5d36b9ac299e9f6d52cc32d540cc1c3342de6e7) --- diff --git a/src/ceph-disk b/src/ceph-disk index 384eb171c7d..a5133430ab3 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1190,6 +1190,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):