Thanks James, I installed the patch and got the proper error message "err: Could not retrieve catalog from remote server: hostname was not match with the server certificate". I'm using ruby 1.8.7.
It's still weird however that it complains about the hostname as it was working before. Nevertheless, I remade the CA and it's now working so I'm happy. On 8 Jun, 18:46, James Turnbull <[email protected]> wrote: > kit wrote: > > 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 wasnotmatch with theservercertificate > > Exception `NoMethodError' at /usr/local/lib/ruby/1.8/net/http.rb:1060 > > - undefined method `closed?' for nil:NilClass > > err:Couldnotretrievecatalogfromremoteserver: undefined method > > `closed?' for nil:NilClass > > warning:Notusing cache on failedcatalog > > err:Couldnotretrievecatalog; 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 > > (Couldnotretrievecatalogfromremoteserver: 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... > > What Ruby version and platform are you on? This rather annoying message > is often the result of a Ruby 1.8.7 bug that hides the actual problem. > > See: > > http://projects.puppetlabs.com/issues/3101 > > And the patch (in Puppet 0.25.5): > > http://projects.puppetlabs.com/projects/puppet/repository/revisions/a... > > I suspect the underlying message above about a hostname mismatch is your > actual problem - has anything changed there? > > Regards > > James Turnbull -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
