Jira (PUP-2089) Error messages did not store in last_run_summary.yaml when config failed.

4 views
Skip to first unread message

Sean McDonald (JIRA)

unread,
May 15, 2017, 7:20:02 PM5/15/17
to puppe...@googlegroups.com
Sean McDonald assigned an issue to Unassigned
 
Puppet / Bug PUP-2089
Error messages did not store in last_run_summary.yaml when config failed.
Change By: Sean McDonald
Assignee: Kylo Ginsberg
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
May 15, 2017, 7:21:03 PM5/15/17
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
May 15, 2017, 7:21:03 PM5/15/17
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
May 18, 2017, 2:00:31 PM5/18/17
to puppe...@googlegroups.com

Anton Fomenko (JIRA)

unread,
Nov 28, 2018, 5:30:02 AM11/28/18
to puppe...@googlegroups.com
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Mar 29, 2019, 12:33:02 AM3/29/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Mar 29, 2019, 12:34:04 AM3/29/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-2089
 
Re: Error messages did not store in last_run_summary.yaml when config failed.

Still an issue in 6.4. If we fail to download a catalog due to server complication error, the last run summary doesn't report any errors:

---
version:
  config:
  puppet: 6.4.0
resources:
  changed: 0
  corrective_change: 0
  failed: 0
  failed_to_restart: 0
  out_of_sync: 0
  restarted: 0
  scheduled: 0
  skipped: 0
  total: 0
time:
  fact_generation: 2.147443000227213
  node_retrieval: 0.14986300002783537
  plugin_sync: 0.3799709999002516
  total: 2.938147
  last_run: 1553832920
changes:
  total: 0
events:
  failure: 0
  success: 0
  total: 0

Damon Maria (Jira)

unread,
Jul 7, 2020, 6:58:04 PM7/7/20
to puppe...@googlegroups.com
Damon Maria commented on Bug PUP-2089

What about adding a "last_retrieve" timestamp (like last_run) into the summary. While the reason would not be known at least we could detect the failure.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Jul 22, 2020, 11:37:03 AM7/22/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-2089

This should be relatively easy now that PUP-8288 is fixed. Puppet now keeps track of whether the transaction completed successfully (it assumes failure and only sets the transaction_completed variable to true if it gets to the end. Puppet also takes that variable into account when determining whether the overall status is success or failure. It should be easy to update the `last_run_summary` to include the overall status and a timestamp of when the last run occurred.

Reply all
Reply to author
Forward
0 new messages