]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: log parted output
authorLoic Dachary <ldachary@redhat.com>
Wed, 16 Dec 2015 11:30:20 +0000 (12:30 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 21 Dec 2015 10:31:25 +0000 (11:31 +0100)
Should parted output fail to parse, it is useful to get the full output
when running in verbose mode.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk

index 7c3f7862adbf7685f4013cd0d39bfedf0dfcf735..15df32c7783cf46d2f330937c24cff0ae84053dd 100755 (executable)
@@ -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):