Correct the failed status in the baremetal workflow

Two tasks in the introspect workflow have incorrectly been sending
"ERROR" statuses when they should have sent "FAILED". This then meant
the workflow appeared to finish without errors (or failures). This is
primarily a problem for the introspect_manageable_nodes workflow which
then can't detect errors and reports that everything was successful.

Change-Id: I34a91dd14bb19775ad62271def6ecb66398c84db
Closes-Bug: #1733303
This commit is contained in:
Dougal Matthews 2017-11-20 11:30:14 +00:00
parent 3d90111728
commit 7a18b486a1

View File

@ -601,7 +601,7 @@ workflows:
max_retry_attempts_reached:
publish:
status: ERROR
status: FAILED
message: <% 'Retry limit reached with {0} nodes still failing introspection'.format($.failed_introspection.len()) %>
on-complete: send_message
@ -613,7 +613,7 @@ workflows:
unhandled_error:
publish:
status: ERROR
status: FAILED
message: "Unhandled workflow error"
on-complete: send_message