Hey there,

On 29/07/14 01:11 AM, Peter Romfeld wrote:
> Hi,

I don't know if it was exactly the same error but I was having something
similar when using a puppet 2.7 client with a 2.6 master.

make sure your client is not using a more recent version than your master.

> I get the following error:
> 
> # puppet agent --trace -t
> info: Retrieving plugin
> info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
> info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
> info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
> info: Loading facts in /var/lib/puppet/lib/facter/puppi_projects.rb
> info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
> info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
> info: Loading facts in /var/lib/puppet/lib/facter/last_run.rb
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:168:in `is_http_200?'
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:101:in `find'
> /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:195:in `find'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:239:in
> `retrieve_new_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:509:in `thinmark'
> /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:508:in `thinmark'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:238:in
> `retrieve_new_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:86:in `retrieve_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:112:in
> `retrieve_and_apply_catalog'
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:152:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:23:in `lock'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
> /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:95:in `with_client'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:41:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:172:in `call'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:172:in `controlled_run'
> /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:339:in `onetime'
> /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:313:in `run_command'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:416:in `hook'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:407:in `exit_on_fail'
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
> /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:69:in `execute'
> /usr/bin/puppet:4
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> undefined method `include?' for nil:NilClass on node 
> warning: Not using cache on failed catalog
> err: Could not retrieve catalog; skipping run
> 
> 
> I tried to remove the ssl certs on master and agent and resigned a new
> one, but i get still this error. Other Instances are working just fine,
> I only have this error on one Instance so far
> # puppet --version
> 2.7.23



-- 
Gabriel Filion

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to