(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:
Scott Hussey 2018-06-18 09:20:57 -05:00
parent b4a31a79de
commit 396f1da5e0
1 changed files with 1 additions and 0 deletions

View File

@ -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)