Issue #21601 has been updated by Charlie Sharpsteen. Assignee changed from Charlie Sharpsteen to Laura Varga
Thanks for the info Laura. Looking at the source code for the autoloader, these error messages seem to suggest that the `Kernel` module was somehow reassigned to the value of `nil`. Which is... very odd. Would it be possible to get a log of this error when the Puppet master is running with the `--debug` and `--trace` flags? ---------------------------------------- Bug #21601: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb https://projects.puppetlabs.com/issues/21601#change-94745 * Author: Laura Varga * Status: Needs More Information * Priority: Low * Assignee: Laura Varga * 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.
