Bug #2372

eval_generate/to_sym error on checkin with 25b2 host to 25b2 server

Added by Sam Rowe almost 3 years ago. Updated almost 3 years ago.

Status:Duplicate Start date:06/29/2009
Priority:High Due date:
Assignee:- % Done:

0%

Category:network
Target version:0.25.0
Affected Puppet version:0.24.8 Branch:
Keywords:
Votes: 1

Description

err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ‘eval_generate’: Server returned 400: undefined method `to_sym' for nil:NilClass


Related issues

duplicates Puppet - Bug #2238: Fileserver under Apache/Mongrel chokes on recursive direc... Rejected 05/11/2009

History

Updated by Luke Kanies almost 3 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.25.0

Can we get a stack trace?

Updated by Sam Rowe almost 3 years ago

puppetd —test —trace —debug debug: Failed to load library ‘ldap’ for feature ‘ldap’ debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/csr_lee.bor.usg.edu.pem]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs/lee.bor.usg.edu.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Filecommit:/var/lib/puppet/ssl/certificate_requests: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys/lee.bor.usg.edu.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/ssl/public_keys/lee.bor.usg.edu.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: Finishing transaction -606905318 with 0 changes debug: Using cached certificate for ca debug: Using cached certificate for lee.bor.usg.edu debug: Finishing transaction -608253728 with 0 changes debug: Loaded state in 0.07 seconds info: Retrieving plugin debug: Using cached certificate for ca debug: Using cached certificate for lee.bor.usg.edu debug: Using cached certificate_revocation_list for ca /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:53:in deserialize' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:71:insearch' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:242:in search' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:59:insearch' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:682:in perform_recursion' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:635:inrecurse_remote' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:634:in collect' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:634:inrecurse_remote' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:580:in recurse' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:389:ineval_generate' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:337:in send' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:337:ingenerate_additional_resources' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:191:in eval_generate' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:211:ineval_resource' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:284:in evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:425:inthinmark' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:424:inthinmark' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:283:in evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:277:incollect' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:277:in evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:137:inapply' /usr/lib/ruby/site_ruby/1.8/puppet/configurer/downloader.rb:32:in evaluate' /usr/lib/ruby/1.8/timeout.rb:56:intimeout' /usr/lib/ruby/site_ruby/1.8/puppet/configurer/downloader.rb:31:in evaluate' /usr/lib/ruby/site_ruby/1.8/puppet/configurer/plugin_handler.rb:12:indownload_plugins' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:75:in prepare' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:130:inrun' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in run' /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:inlock' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in run' /usr/lib/ruby/1.8/sync.rb:229:insynchronize' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:130:inwith_client' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in run' /usr/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:inonetime' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in send' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:inrun_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in run' /usr/sbin/puppetd:159 err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Server returned 400: undefined methodto_sym' for nil:NilClass debug: Finishing transaction -606542688 with 0 changes info: Loading facts in tww_ssh_version info: Loading facts in tww_ssh_version notice: Caught INT; calling stop

Updated by Brice Figureau almost 3 years ago

Sam Rowe wrote:

puppetd —test —trace —debug snipped

It looks like it is a server error, can you run your master with —trace and post the server stack trace?

Updated by Jordan Curzon almost 3 years ago

I think this is a duplicate of #2238, the error message is the same. Can you test this with the latest puppet source code?

Updated by Luke Kanies almost 3 years ago

  • Category set to network
  • Priority changed from Normal to High

Updated by Luke Kanies almost 3 years ago

  • Status changed from Accepted to Duplicate

I’m closing this as a dupe.

Also available in: Atom PDF