We are seeing this error in our log files on some clients: puppetd[15068]: Could not run Puppet configuration client: undefined method `initvars'' for #<Puppet::Type::Package:0x2aaaabbb4858> Where do I begin troubleshooting this? The client software versions are: ruby-1.8.5-5.el5_4.8.x86_64 ruby-libs-1.8.5-5.el5_4.8.x86_64 ruby-shadow-1.4.1-7.el5.x86_64 facter-1.5.8-1.el5.noarch ruby-augeas-0.4.1-1.el5.x86_64 puppet-0.25.5-1.el5.noarch And the server is running puppet 2.6.7. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Try enabling debug and trace on your agent, that will provide more details. On Tue, Jul 26, 2011 at 11:17 AM, Sean Carolan <scarolan@gmail.com> wrote:> We are seeing this error in our log files on some clients: > > puppetd[15068]: Could not run Puppet configuration client: undefined > method `initvars'' for #<Puppet::Type::Package:0x2aaaabbb4858> > > Where do I begin troubleshooting this? The client software versions are: > > ruby-1.8.5-5.el5_4.8.x86_64 > ruby-libs-1.8.5-5.el5_4.8.x86_64 > ruby-shadow-1.4.1-7.el5.x86_64 > facter-1.5.8-1.el5.noarch > ruby-augeas-0.4.1-1.el5.x86_64 > puppet-0.25.5-1.el5.noarch > > And the server is running puppet 2.6.7. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Tony http://blog.tonyskapunk.net -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Jul 26, 2011 at 11:44 AM, Tony G. <tonysk8@gmail.com> wrote:> Try enabling debug and trace on your agent, that will provide more details.Ok, we gave this a shot. Here''s the output with --debug and --trace turned on: /var/lib/puppet/lib/puppet/type/package.rb:316:in `initialize'' /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:172:in `new'' /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:172:in `to_ral'' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:569:in `send'' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:569:in `to_catalog'' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:547:in `each'' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:547:in `to_catalog'' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:473:in `to_ral'' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in `convert_catalog'' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:114:in `retrieve_catalog'' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:142:in `run'' /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:in `lock'' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:134:in `with_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:in `onetime'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'' /usr/sbin/puppetd:160 err: Could not run Puppet configuration client: undefined method `initvars'' for #<Puppet::Type::Package:0x2aaaaba48168> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.