]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
alert the user about error messages from partx 1205/head
authorAlfredo Deza <alfredo@deza.pe>
Mon, 10 Feb 2014 20:07:55 +0000 (15:07 -0500)
committerAlfredo Deza <alfredo@deza.pe>
Mon, 10 Feb 2014 20:09:39 +0000 (15:09 -0500)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
src/ceph-disk

index c0f3786091befa852cde7102cd6ca35b020a8e4d..5a03639a6408439616114e4a9a65bbbc8b959a98 100755 (executable)
@@ -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',