Coming Underground
« Puppet with Ruby 1.8.7 hang with pthreadsDebugging Perl CGI scripts with Lighttpd »

Strange Puppet nil:NilClass error message

Permalink 2010-03-16 16:28, by jaervosz, Categories: General, Gentoo Tips, Universe/English , Tags: error message, puppet

Puppet is a very nice tool to do a lot of cool stuff, but sometimes it spews out error messages that seems a bit odd to the non Ruby hacker.

Ie. if your puppetmaster is down (or you misconfigured DNS) you'll get the following with puppet-0.25.4-r1:

err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass

This error message is not too helpful, and looks like broken Puppet error reporting. If it wasn't for upstream talking about it (puppet bug #3101) I would think that I had b0rked Puppet error reporting locally.

With an older version ie. 0.24.8-r1 I error reporting is working just fine:


err: Could not retrieve catalog: Could not connect to puppet.example.com on port 8140

Leave a comment »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz