From: Alfredo Deza Date: Mon, 10 Feb 2014 20:07:55 +0000 (-0500) Subject: alert the user about error messages from partx X-Git-Tag: v0.78~207^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9bcc42a3e6b08521694b5c0228b2c6ed7b3d312e;p=ceph.git alert the user about error messages from partx Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-disk b/src/ceph-disk index c0f3786091bef..5a03639a64084 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -995,7 +995,8 @@ def prepare_journal_dev( # server. Since we are not resizing partitons so we rely on calling # partx if platform_distro().startswith(('centos', 'red')): - LOG.debug('Calling partx on prepared device %s', journal) + LOG.info('calling partx on prepared device %s', journal) + LOG.info('re-reading known partitions will display errors') command( [ 'partx', @@ -1419,7 +1420,9 @@ def main_prepare(args): # the server. Since we are not resizing partitons so we rely on # calling partx if platform_distro().startswith(('centos', 'red')): - LOG.debug('Calling partx on prepared device %s', args.data) + LOG.info('calling partx on prepared device %s', args.data) + LOG.info('re-reading known partitions will display errors') + command( [ 'partx',