Restore missing node.save() in agent_base.py
Lost in commit ff2030ce98
.
Story: #2006963
Change-Id: I1d6ffd8c49887daab73fa3cc47b8f1104fb02d48
This commit is contained in:
parent
ff2030ce98
commit
5950b7041e
@ -827,8 +827,8 @@ class AgentDeployMixin(HeartbeatMixin):
|
|||||||
if _freshly_booted(agent_commands, step_type):
|
if _freshly_booted(agent_commands, step_type):
|
||||||
field = ('cleaning_reboot' if step_type == 'clean'
|
field = ('cleaning_reboot' if step_type == 'clean'
|
||||||
else 'deployment_reboot')
|
else 'deployment_reboot')
|
||||||
utils.pop_node_nested_field(
|
utils.pop_node_nested_field(node, 'driver_internal_info', field)
|
||||||
task.node, 'driver_internal_info', field)
|
node.save()
|
||||||
manager_utils.notify_conductor_resume_operation(task, step_type)
|
manager_utils.notify_conductor_resume_operation(task, step_type)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user