diff options
| author | Zane Bitter <zbitter@redhat.com> | 2021-04-28 14:37:23 -0400 |
|---|---|---|
| committer | Zane Bitter <zbitter@redhat.com> | 2021-04-29 09:55:56 -0400 |
| commit | c56cd4abc08840ba3670fbb024d3fe3e3b37209e (patch) | |
| tree | 71a98d65a9b98e8418c641bb4a11db13d9aa0242 /ironic_python_agent | |
| parent | 2057d861a6a7ccc3076f41ef3a6a2b05cc51d694 (diff) | |
| download | ironic-python-agent-c56cd4abc08840ba3670fbb024d3fe3e3b37209e.tar.gz | |
Fix missing data in log messages
Change-Id: I5d08deed86d79a7ea0b7a1625122af595037dab5
Diffstat (limited to 'ironic_python_agent')
| -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)") |
