Jira (PUP-6971) configuration_version undefined on catalog compile failure

2 views
Skip to first unread message

James powis (JIRA)

unread,
Dec 4, 2016, 6:58:03 PM12/4/16
to puppe...@googlegroups.com
James powis created an issue
 
Puppet / Bug PUP-6971
configuration_version undefined on catalog compile failure
Issue Type: Bug Bug
Affects Versions: PUP 4.0.0
Assignee: Unassigned
Components: Puppet Server
Created: 2016/12/04 3:57 PM
Environment:

Opensource Puppetserver 4.0.0-4.Latest

Priority: Normal Normal
Reporter: James powis

When a catalog compile fails the puppet report self.configuration_version is set to undef. This value is used to reference puppetdb reports using custom reporting (such as puppet-hipchat)

Ideally even if the config does not change (due to failure / caching / 0 resources chaged) configuration_version should be generated and rotated for each run regardless of success.

Reference: https://github.com/jamtur01/puppet-hipchat/issues/51

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Karen Van der Veer (JIRA)

unread,
Dec 6, 2016, 6:53:02 PM12/6/16
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Dec 7, 2016, 5:15:06 AM12/7/16
to puppe...@googlegroups.com
Henrik Lindberg updated an issue

Although the description says "compilation fails", this looks like an agent side thing because it involves sending a report.

Change By: Henrik Lindberg
Team: Agent & Platform

James powis (JIRA)

unread,
Dec 7, 2016, 10:15:04 AM12/7/16
to puppe...@googlegroups.com
James powis commented on Bug PUP-6971
 
Re: configuration_version undefined on catalog compile failure

The easiest way to invoke this is to add a fail('foo') into an included manifest.

John Duarte (JIRA)

unread,
May 16, 2017, 3:07:24 PM5/16/17
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Sep 29, 2020, 4:51:03 PM9/29/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-6971
 
Re: configuration_version undefined on catalog compile failure

If the agent can't get a catalog from the server, then we won't know what the configuration_version is/should be, and can't include it in the report. There is a transaction_uuid in the report which makes it possible to distinguish among agent runs for the same host. Going to close this as won't do

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages