From c5cb73946171be83106115d0ee7a3c0cbe997a66 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Tue, 21 Jan 2025 10:10:12 +0000 Subject: [PATCH] Fix typo calling save_and_reraise_exception Related-Bug: 2095403 Change-Id: If0af007253f6f368ed7723df78b2e2756766c9d7 --- ironic/drivers/modules/agent_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic/drivers/modules/agent_client.py b/ironic/drivers/modules/agent_client.py index 15900da34b..55fbe9b40d 100644 --- a/ironic/drivers/modules/agent_client.py +++ b/ironic/drivers/modules/agent_client.py @@ -886,7 +886,7 @@ class AgentClient(object): try: self._command(node=node, method='system.lockdown', params={}) except Exception as e: - with excutils.save_and_raise_exception(): + with excutils.save_and_reraise_exception(): LOG.error('Failed to lock down node %(node_uuid)s. ' '%(cls)s: %(error)s', {'node_uuid': node.uuid,