From 936dda76ce11baa9f2b7cce882b655550188a731 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 16 Dec 2015 12:30:20 +0100 Subject: [PATCH] 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) --- src/ceph-disk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ceph-disk b/src/ceph-disk index 384eb171c7d3f..a5133430ab3c1 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): -- 2.39.5