From 578c02813d983e21501a1b9136d57c30bc2b0daa Mon Sep 17 00:00:00 2001 From: James Denton Date: Sun, 3 Dec 2023 06:10:28 -0600 Subject: [PATCH] Fix log message var reference Fixes an issue with debug logging referencing node vs node_uuid. Change-Id: Ic7de9826fbec32038947be89b14f6dfdc2248de4 --- ironic/drivers/modules/redfish/raid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic/drivers/modules/redfish/raid.py b/ironic/drivers/modules/redfish/raid.py index e9b9ec18f9..e436b525a5 100644 --- a/ironic/drivers/modules/redfish/raid.py +++ b/ironic/drivers/modules/redfish/raid.py @@ -626,7 +626,7 @@ def _construct_volume_payload( payload['Drives'] = [{"@odata.id": _drive_path(storage, d)} for d in physical_disks] LOG.debug('Payload for RAID logical disk creation on node %(node_uuid)s: ' - '%(payload)r', {'node': node.uuid, 'payload': payload}) + '%(payload)r', {'node_uuid': node.uuid, 'payload': payload}) return payload