diff options
author | Zane Bitter <zbitter@redhat.com> | 2021-04-28 14:37:23 -0400 |
---|---|---|
committer | Riccardo Pittau <elfosardo@gmail.com> | 2021-04-30 08:02:38 +0000 |
commit | 34ef697b218af5188798e34e558d634bcd60e630 (patch) | |
tree | 64e91c62845839d745041654b385c7f17ea070f8 | |
parent | 033514ae7518d75dc66393432c19623d3f61c1b2 (diff) | |
download | ironic-python-agent-34ef697b218af5188798e34e558d634bcd60e630.tar.gz |
Fix missing data in log messages
Change-Id: I5d08deed86d79a7ea0b7a1625122af595037dab5
(cherry picked from commit c56cd4abc08840ba3670fbb024d3fe3e3b37209e)
-rw-r--r-- | ironic_python_agent/hardware.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index abda1f1a..061af3c1 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -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)") |