Browse Source

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 7e1f2ce788)
changes/40/704340/1
Steve Baker Bob Fournier 2 months ago
parent
commit
8b1b9dbd20
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      workbooks/baremetal.yaml

+ 2
- 2
workbooks/baremetal.yaml View File

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


Loading…
Cancel
Save