> I recently upgraded from puppetdb 1.6 to 2.2 but now it seems like I'm > having issues with the puppetdb report processor. > I keep getting the errors below: > puppet-master[23130]: Report processor failed: Environment is nil, unable > to submit report. This may be due a bug with Puppet. Ensure you are running > the latest revision, see PUP-2508 for more details. > > I'm running puppet-server 3.6.2 on CentOS 6.x behind an Apache with > passenger. > The PuppetDB v 2.2.2 is running on a PostgreSQL 9.3 > > Before the upgrade it worked fine, does anyone have an idea on what might be > wrong? Could it be related to the modified SSL config in puppetdb;s > jetty.ini config file? How could I test this? > I noticed it since all the hosts now show as unreported in Puppetboard
I doubt it's related. This error is meant to pick up on the bug outlined in https://tickets.puppetlabs.com/browse/PUP-2508, which was fixed in 3.6.1, or at least it should have been. Basically internally the environment is not being set in that case, that patch was meant to fix that. In short, its not meant to happen with 3.6.2 at all, so this is surprising. I certainly haven't seen this error in later revisions, or seen this particular problem in the wild. I would suspect that you hadn't restarted your Puppet master but I doubt this is true, as the error only occurs when you upgrade (which needs a restart). Its possibly related to some other magic, are you using environments in anger in your setup? ie. do you use environments that are not 'production', and are you doing anything special like using an ENC or something? I think at this point we could try to reproduce the problem ourselves for 3.6.2, but that would take me a little time to set up. Before I do this, have you tested this with Puppet 3.7.3 yet? Also, is this only happening in 1 environment, can you reproduce this on another puppet master perhaps? ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAE4bNTkZ8hKf5d-V0%3D%2BFCCwDeEH5SEu1RAdMZe2JhfyW-KQA%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
