mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
alert the user about error messages from partx
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
This commit is contained in:
parent
42900ff9da
commit
9bcc42a3e6
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user