We are getting this frustrating error on all of our servers after
restarting the puppet server. Can't seem to get rid of it no matter
what.

The following pops up in /var/log/messages after trying to start
puppetd:
Jun  8 10:59:04 svn001 puppetd[92558]: Could not retrieve catalog;
skipping run
Jun  8 10:59:18 svn001 puppetd[92597]: Could not retrieve catalog from
remote server: undefined method `closed?' for nil:NilClass
Jun  8 10:59:18 svn001 puppetd[92597]: Not using cache on failed
catalog

Trying to start puppetd in test mode:
~# /usr/local/sbin/puppetd --test
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find template 'nagios/nrpe.cfg/MASTER.erb' at /usr/
local/etc/puppet/modules/nrpe/manifests/init.pp:22 on node
svn001.mid.no
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

I have verified multiple times that the template puppet claims not to
exists actually does exists so it must be a bogus error message.

If I start ruby in debug mode and puppet in test the error message is
different:
~# /usr/local/bin/ruby --debug /usr/local/sbin/puppetd --server
puppet.kit.no --rundir /var/run/puppet --test
Exception `OpenSSL::SSL::SSLError' at /usr/local/lib/ruby/1.8/openssl/
ssl.rb:123 - hostname was not match with the server certificate
Exception `NoMethodError' at /usr/local/lib/ruby/1.8/net/http.rb:1060
- undefined method `closed?' for nil:NilClass
err: Could not retrieve catalog from remote server: undefined method
`closed?' for nil:NilClass
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

However if I ommit the --test part in debug mode the certificate error
goes away and I get the usual error message in the /var/log/message
(Could not retrieve catalog from remote server: undefined method
`closed?' for nil:NilClass). So now I'm just really confused about the
whole thing, been fighting with it for half a day. Anyone got some
insights. Funny thing is that it was working fine until the reboot,
but no changes were made...

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to