From 5950b7041ed365c533bf10080dd287f056ee4876 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 23 Apr 2020 12:14:13 +0200 Subject: [PATCH] Restore missing node.save() in agent_base.py Lost in commit ff2030ce98dbe470f8d51d308e184cc065d491e0. Story: #2006963 Change-Id: I1d6ffd8c49887daab73fa3cc47b8f1104fb02d48 --- ironic/drivers/modules/agent_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ironic/drivers/modules/agent_base.py b/ironic/drivers/modules/agent_base.py index 6eb2312b40..b9802507bd 100644 --- a/ironic/drivers/modules/agent_base.py +++ b/ironic/drivers/modules/agent_base.py @@ -827,8 +827,8 @@ class AgentDeployMixin(HeartbeatMixin): if _freshly_booted(agent_commands, step_type): field = ('cleaning_reboot' if step_type == 'clean' else 'deployment_reboot') - utils.pop_node_nested_field( - task.node, 'driver_internal_info', field) + utils.pop_node_nested_field(node, 'driver_internal_info', field) + node.save() manager_utils.notify_conductor_resume_operation(task, step_type) return