Project

General

Profile

Bug #1835

foreman-proxy (:puppet: true) broken with puppet-2.7.19-1.el6

Added by Iounes Gardon almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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  ]

Related issues

Has duplicate Smart Proxy - Bug #1833: proxy met issue with puppet 2.7.19Duplicate2012-08-22

Associated revisions

Revision 330dbef3 (diff)
Added by Ohad Levy almost 7 years ago

fixes #1835 - proxy now can import classes from puppet 2.7.19

History

#1 Updated by Luke Baker almost 7 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]

#2 Updated by Ohad Levy almost 7 years ago

  • Project changed from Foreman to Smart Proxy

#3 Updated by Ohad Levy almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#4 Updated by Ohad Levy almost 7 years ago

  • Category set to Puppet
  • Assignee set to Ohad Levy
  • Target version set to 1.1

Also available in: Atom PDF