Issue #21601 has been updated by Laura Varga.
Peter Meier wrote: > I think it's pretty obvious that one should restart a service after > everything changed underneath. Or what would you like to see (to be fixed)? Sorry, I didn't mention that this is happening after reboot. I applied a full set of upgrades to the OS (including ruby and kernel), then rebooted the system and when it came back up, puppetmaster didn't came up with these errors, then catalog runs were all over the place, which is understandable, since puppetmaster was unable to load some core rb files. ---------------------------------------- Bug #21601: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb https://projects.puppetlabs.com/issues/21601#change-94140 * Author: Laura Varga * Status: Unreviewed * Priority: Low * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- After a ruby upgrade, these errors came up in /var/log/messages: 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 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.
