Bug #1833
closedproxy met issue with puppet 2.7.19
Description
smart proxy seems not compact with puppet 2.7.19, i have to downgrade puppet to 2.7.18 let it get started.
[root@puppet01 foreman]# /etc/init.d/foreman-proxy start
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]
[root@puppet01 foreman]# rpm -qa|grep foreman-proxy
foreman-proxy-1.0.0-2.el6.noarch
[root@puppet01 foreman]# rpm -qa|grep puppet
puppet-2.7.19-1.el6.noarch
puppetlabs-release-6-5.noarch
puppet-server-2.7.19-1.el6.noarch
[root@puppet01 foreman]# yum downgrade puppet-server-2.7.18 puppet-2.7.18
[root@puppet01 foreman]# puppet --version
2.7.18
[root@puppet01 foreman]# /etc/init.d/foreman-proxy start
Starting foreman-proxy: WARNING: Missing SSL setup, working in clear text mode !
[ OK ]