From 8b1b9dbd20709e225a0d3556e57a79e2f0bc6984 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 29 Nov 2019 11:20:38 +1300 Subject: [PATCH] Clarify introspection failed attempt log message This change clarifies that an introspect attempt failed, implying that a future attempt might succeed. This is part of a fix for transient failures when calling ironic-inspector leading to logging indicating introspection failed when it actually succeeded. The layout of the message is also changed slightly to make Kibana searches for failures easier. Change-Id: Icef88c3ae33fe4516b3cadd64240cc882434e690 Partial-Bug: #1854399 (cherry picked from commit 7e1f2ce788a3d569f24b061f768b87db1e1683bb) --- workbooks/baremetal.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workbooks/baremetal.yaml b/workbooks/baremetal.yaml index f305ed9a2..86e0d5a55 100644 --- a/workbooks/baremetal.yaml +++ b/workbooks/baremetal.yaml @@ -494,14 +494,14 @@ workflows: wait_for_introspection_to_finish_success: publish: - message: <% "Introspection of node {0} completed. Status:{1}. Errors:{2}".format($.introspected_node.uuid, $.status, $.introspected_node.error) %> + message: <% "Introspection of node completed:{0}. Status:{1}. Errors:{2}".format($.introspected_node.uuid, $.status, $.introspected_node.error) %> on-success: send_message wait_for_introspection_to_finish_error: on-success: send_message publish: status: FAILED - message: <% "Introspection of node {0} failed.".format($.node_uuid) %> + message: <% "Introspection of node attempt failed:{0}.".format($.node_uuid) %> send_message: workflow: tripleo.messaging.v1.send