From 34ef697b218af5188798e34e558d634bcd60e630 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Wed, 28 Apr 2021 14:37:23 -0400 Subject: [PATCH] Fix missing data in log messages Change-Id: I5d08deed86d79a7ea0b7a1625122af595037dab5 (cherry picked from commit c56cd4abc08840ba3670fbb024d3fe3e3b37209e) --- ironic_python_agent/hardware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index abda1f1a1..061af3c13 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)")