Issue #3543 has been updated by Klavs Klavsen.

I just saw one occurence of this on our 0.25.5 setup: 
puppetmasterd[10488]: undefined method `each' for nil:NilClass..

I have other error messages (see my case about this) which may bad handling of 
"performance issues" on the case of webrick. I'm working on settting up a 
passenger/mod_rails setup instead and see what errors continue after this. The 
above may or may not be related.
----------------------------------------
Bug #3543: undefined method `each' for nil:NilClass
http://projects.puppetlabs.com/issues/3543

Author: micah -
Status: Investigating
Priority: Normal
Assigned to: Markus Roberts
Category: 
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


I'm running with 0.25.4, with the dbconnections configuration variable fix 
(#2568) cherry-picked in. I've been getting some logs on my puppetmaster as 
follows:

<pre>
puppetmasterd[25058]: undefined method `each' for nil:NilClass at 
/etc/puppet/modules/runlevel/manifests/init.pp:67 on node xxx
puppetmasterd[25086]: undefined method `each' for nil:NilClass on node xxxx
puppetmasterd[25114]: undefined method `each' for nil:NilClass at 
/etc/puppet/modules/nagios/manifests/base.pp:80 on node xxx.riseup.net
</pre>

I was getting these in a previous release, but they were fixed by #2863, 
however they have come back. I checked the code that was changed in #2863, and 
it still exists, so that wasn't removed. I have been having difficulties 
recently with storedconfig connections to the database causing catalog compiles 
to either take thousands of seconds, or spit out an error like this:

<pre>
Apr 12 18:14:05 puppetmaster puppetmasterd[11219]: could not obtain a database 
connection within 5 seconds.  The max pool size is currently 5; consider 
increasing it.
</pre>

I added the dbconnections bit so I could increase that value, but quickly went 
from setting it to 10, to now 40 and I am still getting the error (although the 
max pool size is reported as 40 now, instead of 5 of course). I dont know if 
the nil:NilClass errors are caused when that happens, or if they are different 
issues.





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