From 836ead3e42491597c192c63d3171021c5daecbc0 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 10 Feb 2014 15:07:55 -0500 Subject: [PATCH] alert the user about error messages from partx Signed-off-by: Alfredo Deza (cherry picked from commit 9bcc42a3e6b08521694b5c0228b2c6ed7b3d312e) --- src/ceph-disk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ceph-disk b/src/ceph-disk index d6ed629fea674..5484c1a607b39 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', @@ -1422,7 +1423,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', -- 2.39.5