]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
alert the user about error messages from partx
authorAlfredo Deza <alfredo@deza.pe>
Mon, 10 Feb 2014 20:07:55 +0000 (15:07 -0500)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 12 Feb 2014 21:17:13 +0000 (16:17 -0500)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
(cherry picked from commit 9bcc42a3e6b08521694b5c0228b2c6ed7b3d312e)

src/ceph-disk

index d6ed629fea674e5e1581d763335272a4fff18d1e..5484c1a607b39c9dd988da16da7c15e0a63ce7cf 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',
@@ -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',