Issue #21601 has been updated by Charlie Sharpsteen. Status changed from Needs More Information to Closed Assignee changed from Laura Varga to Charlie Sharpsteen
Thanks for the update. I'm going to close this ticket since it sounds like this is not a recurring, re-producible issue. If the issue does resurface and you are able to get a backtrace from the master, please re-open this ticket. ---------------------------------------- Bug #21601: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb https://projects.puppetlabs.com/issues/21601#change-95379 * Author: Laura Varga * Status: Closed * Priority: Low * Assignee: Charlie Sharpsteen * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- After a ruby upgrade, these errors came up in /var/log/messages: <pre> Jun 28 13:41:26 notice ms1 puppet-master[2988]: Reopening log files Jun 28 13:41:26 notice ms1 puppet-master[2988]: Starting Puppet master version 2.7.21 Jun 28 13:41:48 err ms1 puppet-master[2988]: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb: private method `load' called for nil:NilClass at /opt/ericsson/nms/litp/etc/puppet/modules/yum/manifests/permanentrepos.pp:17 on node sc-2 Jun 28 13:41:48 warning ms1 puppet-master[2988]: 'newpackage' method already exists; skipping Jun 28 13:41:48 err ms1 puppet-master[2988]: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb: private method `load' called for nil:NilClass at /opt/ericsson/nms/litp/etc/puppet/modules/yum/manifests/permanentrepos.pp:17 on node sc-2 Jun 28 13:41:48 err ms1 puppet-master[2988]: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/macports.rb: undefined method `downcase' for nil:NilClass at /opt/ericsson/nms/litp/etc/puppet/modules/yum/manifests/permanentrepos.pp:17 on node ms1 Jun 28 13:41:48 err ms1 puppet-master[2988]: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/macports.rb: undefined method `downcase' for nil:NilClass at /opt/ericsson/nms/litp/etc/puppet/modules/yum/manifests/permanentrepos.pp:17 on node ms1 Jun 28 13:41:48 err ms1 puppet-agent[3453]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/macports.rb: undefined method `downcase' for nil:NilClass at /opt/ericsson/nms/litp/etc/puppet/modules/yum/manifests/permanentrepos.pp:17 on node ms1 </pre> This happened after an OS upgrade which also included ruby upgrade. A restart of the puppetmaster solved the problem. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
