Issue #4628 has been updated by Kenneth Holter.

Rob McBroom wrote:
> I encountered this myself a couple of weeks ago (with 0.25.5). Here’s what I 
> think is going on. (Hopefully it will allow the devs to track it down faster.)
> 
> If Puppet encounters an error while trying to do something (add a package, 
> file, etc.), it will report the error.
> 
> If Puppet encounters an error while getting ready to run (parsing templates, 
> etc.), it never tries to do anything, and therefore decides there’s nothing 
> to report.
> 
> Obviously, it would be nice to have “failed to run at all” type errors in the 
> report as well as the “failed while running” type.

I think you're into something here. I added this to my manifest:

package { "thisPackageDoesNotExist":
  ensure => installed
}

The error was included in the report. So package install fail was reported, but 
not manifest parsing. 

----------------------------------------
Bug #4628: Puppet does not include errors in reports
http://projects.puppetlabs.com/issues/4628

Author: Kenneth Holter
Status: Needs design decision
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected version: 0.25.4
Keywords: puppet reports
Branch: 


I've set up puppetmaster and a puppet client, both version 0.25.4. The client 
is set up to report back to the master (i.e. "report = true" in puppet.conf on 
the client). The master directs report to both "puppet_dashboard" and "store". 

The issue seems to be that when I trigger an error on the client, this error is 
not included in the report. I've attached two files to illustrate the problem: 
The file "output-from-client.txt" shows the client side error message, while 
the file "local-report.txt" shows the corresponding report. As one can see, 
there is no error mentioned in the report. To me this seems like a bug. Can 
this be confirmed?

I have not yet tested wether other error are reported back to the server. 

Regards,
Kenneth 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to