Fix missing data in log messages

Change-Id: I5d08deed86d79a7ea0b7a1625122af595037dab5
(cherry picked from commit c56cd4abc0)
This commit is contained in:
Zane Bitter 2021-04-28 14:37:23 -04:00 committed by Riccardo Pittau
parent 033514ae75
commit 34ef697b21
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ def _get_component_devices(raid_device):
if md_uuid in line:
component_devices.append(bdev.name)
LOG.info('Found component devices for %s:',
LOG.info('Found component devices for %s: %s',
raid_device, component_devices)
return component_devices
@ -2211,7 +2211,7 @@ class GenericHardwareManager(HardwareManager):
try:
utils.execute('wipefs', '-af', holder_disk)
except processutils.ProcessExecutionError as e:
LOG.warning('Failed to remove partitions on %s',
LOG.warning('Failed to remove partitions on %s: %s',
holder_disk, e)
LOG.debug("Finished deleting Software RAID(s)")