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
(cherry picked from commit 7a18b486a1)
This commit is contained in:
Dougal Matthews 2017-11-20 11:30:14 +00:00 committed by Alex Schultz
parent 98f8097a8c
commit 2491e49c3b
1 changed files with 2 additions and 2 deletions

View File

@ -591,7 +591,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
@ -603,7 +603,7 @@ workflows:
unhandled_error:
publish:
status: ERROR
status: FAILED
message: "Unhandled workflow error"
on-complete: send_message