Issue #21601 has been updated by Laura Varga.

Assignee changed from Laura Varga to Charlie Sharpsteen

Hi,

<pre>
[root@ms1 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[root@ms1 ~]# rpm -qav |grep ruby
ruby-rdoc-1.8.7.352-3.el6.x86_64
ruby-libs-1.8.7.352-3.el6.x86_64
ruby-irb-1.8.7.352-3.el6.x86_64
rubygems-1.3.7-1.el6.noarch
ruby-shadow-1.4.1-13.el6.x86_64
rubygems-puppet-lint-0.1.12-1.noarch
ruby-mysql-2.8.2-1.el6.x86_64
libselinux-ruby-2.0.94-5.2.el6.x86_64
ruby-1.8.7.352-3.el6.x86_64
ruby-augeas-0.3.0-1.el6.x86_64

[root@ms1 ~]# rpm -qav |grep puppet
puppet-2.7.21-1.el6.noarch
puppet-server-2.7.21-1.el6.noarch
rubygems-puppet-lint-0.1.12-1.noarch

Updating:
 ruby                                             x86_64                        
                1.8.7.352-7.el6_2                                         
UPDATES                                        532 k
Updating for dependencies:
 ruby-irb                                         x86_64                        
                1.8.7.352-7.el6_2                                         
UPDATES                                        311 k
 ruby-libs                                        x86_64                        
                1.8.7.352-7.el6_2                                         
UPDATES                                        1.6 M
 ruby-rdoc                                        x86_64                        
                1.8.7.352-7.el6_2                                         
UPDATES                                        375 k
<pre>
 
Please let me know if you need any more details. Only one version of puppet and 
puppet-master are installed.

Cheers,
Laura

----------------------------------------
Bug #21601: Could not autoload 
/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yum.rb
https://projects.puppetlabs.com/issues/21601#change-94242

* Author: Laura Varga
* Status: Needs More Information
* 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.


Reply via email to