Issue #17883 has been updated by eric sorenson.

I see what's going on.. that error message is a real problem in the report 
processor, which needs a patch to fix. The first time through, you see the real 
error, but subsequent attempts show the 'already defined' error.

<pre>
Debug: Received report to process from ubuntu12-agent.puppetlabs.lan
Error: Could not autoload puppet/reports/boundary: undefined local variable or 
method `configfile' for Puppet::Reports::Boun
dary:Module
Error: Could not autoload puppet/reports/boundary: undefined local variable or 
method `configfile' for Puppet::Reports::Boun
dary:Module
Compiled catalog for ubuntu12-agent.puppetlabs.lan in environment production in 
0.01 seconds
Debug: Received report to process from ubuntu12-agent.puppetlabs.lan
Error: Could not autoload puppet/reports/boundary: Class Boundary is already 
defined in Puppet::Reports
Error: Could not autoload puppet/reports/boundary: Class Boundary is already 
defined in Puppet::Reports
</pre>

So on long-running masters or ones with many clients its easy to miss the 
actual source of the error. 
----------------------------------------
Bug #17883: Custom reports not working (Class is already defined in 
Puppet::Reports)
https://projects.puppetlabs.com/issues/17883#change-77902

Author: Scott Smith
Status: Investigating
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 
Affected Puppet version: 2.7.20
Keywords: 
Branch: 


I've got a client experiencing this with the boundary report from 
https://github.com/puppetlabs/puppetlabs-boundary

Also someone in #puppet said they get it with the datadog report in Puppet 3.0.

Here's the full message we get at the end of the run:

err: Could not send report: Error 400 on SERVER: Could not autoload boundary: 
Class Boundary is already defined in Puppet::Reports


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