(fix) Make noops considered a success
When a task for prepare_nodes encounters a node that is already managed by the node provisioner, it skips additional interactions to prevent disturbing existing nodes. Add these nodes to the success list for the task so upstream workflows can validate that a described node was found and explicitly considered. Change-Id: Ia387ab4d6fc0d9ad3838b9df54f46d6921d12a42
This commit is contained in:
parent
b4a31a79de
commit
396f1da5e0
|
@ -532,6 +532,7 @@ class PrepareNodes(BaseAction):
|
|||
error=False,
|
||||
ctx=n,
|
||||
ctx_type='node')
|
||||
self.task.success(target=n)
|
||||
|
||||
self.step_oob_set_netboot(target_nodes)
|
||||
|
||||
|
|
Loading…
Reference in New Issue