Bug #1835
closedforeman-proxy (:puppet: true) broken with puppet-2.7.19-1.el6
Description
Hello,
Last night I got following packages upgraded on my centos 6.3 (x86_64) box:
Aug 22 02:20:30 Updated: puppet-2.7.19-1.el6.noarch
Aug 22 02:20:30 Updated: puppet-server-2.7.19-1.el6.noarch
Since then, foreman-proxy service refuse to start with following errors :
/usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:4: uninitialized constant Puppet::Parser (NameError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource/type_collection.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource/type_collection_helper.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:16
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:123
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:9
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy/puppet/puppet_class.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy/puppet.rb:4
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy.rb:14
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/smart-proxy:8
It works fine if I disable ":puppet: true" in /etc/foreman-proxy/settings.yml but we need foreman-proxy to manage puppet.
I tried to downgrade package with "yum downgrade puppet puppet-server" :
Aug 23 16:48:11 Installed: puppet-2.7.18-1.el6.noarch
Aug 23 16:48:11 Installed: puppet-server-2.7.18-1.el6.noarch
[root@server puppet]# service foreman-proxy start
Starting foreman-proxy : WARNING: Missing SSL setup, working in clear text mode !
[ OK ]
Updated by Luke Baker over 12 years ago
I experienced the same issue when using puppet.noarch 0:2.7.19-1.el6 and puppet-server.noarch 0:2.7.19-1.el6. Here is some output from what trying to start foreman-proxy:
Starting foreman-proxy: /usr/lib/ruby/site_ruby/1.8/puppet/parser/type_loader.rb:4: uninitialized constant Puppet::Parser (NameError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource/type_collection.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource/type_collection_helper.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:16
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:123
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:9
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy/puppet/puppet_class.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy/puppet.rb:4
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/../lib/proxy.rb:14
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/share/foreman-proxy/bin/smart-proxy:8
[FAILED]
Updated by Ohad Levy over 12 years ago
- Project changed from Foreman to Smart Proxy
Updated by Ohad Levy over 12 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 330dbef35376b88af4964b4d738c312486fbcdc0.
Updated by Ohad Levy over 12 years ago
- Category set to Puppet
- Assignee set to Ohad Levy
- Target version set to 1.1