Project

General

Profile

Actions

Bug #9916

closed

katello/foreman-installer does not work with Puppet 3.7.5

Added by Anonymous about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Puppet 3.7.5 has changes in it's environment related code that are backwards incompatible and it seems this is breaking the installer:

/usr/lib/ruby/vendor_ruby/puppet/context.rb:54:in `lookup': Could not parse for environment production: no 'environments' in {:current_environment=>*root*, :root_environment=>*root*} at top of [[0, nil, nil]] (Puppet::Error)
    from /usr/lib/ruby/vendor_ruby/puppet.rb:236:in `lookup'
    from /usr/lib/ruby/vendor_ruby/puppet.rb:264:in `future_parser?'
    from /usr/lib/ruby/vendor_ruby/puppet/parser/parser_factory.rb:12:in `parser'
    from /usr/lib/ruby/vendor_ruby/puppet/node/environment.rb:541:in `perform_initial_import'
    from /usr/lib/ruby/vendor_ruby/puppet/node/environment.rb:276:in `known_resource_types'
    from /usr/lib/ruby/vendor_ruby/puppet/resource/type_collection_helper.rb:5:in `known_resource_types'
    from /usr/lib/ruby/vendor_ruby/puppet/parser/parser_support.rb:120:in `import'
    from /usr/lib/ruby/vendor_ruby/kafo_parsers/puppet_module_parser.rb:38:in `initialize'
    from /usr/lib/ruby/vendor_ruby/kafo_parsers/puppet_module_parser.rb:16:in `new'
    from /usr/lib/ruby/vendor_ruby/kafo_parsers/puppet_module_parser.rb:16:in `parse'
    from /usr/lib/ruby/vendor_ruby/kafo/puppet_module.rb:44:in `parse'
    from /usr/lib/ruby/vendor_ruby/kafo/configuration.rb:85:in `block in modules'
    from /usr/lib/ruby/vendor_ruby/kafo/configuration.rb:85:in `map'
    from /usr/lib/ruby/vendor_ruby/kafo/configuration.rb:85:in `modules'
    from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:172:in `modules'
    from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:154:in `params'
    from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:187:in `set_parameters'
    from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:66:in `initialize'
    from /usr/lib/ruby/vendor_ruby/clamp/command.rb:133:in `new'
    from /usr/lib/ruby/vendor_ruby/clamp/command.rb:133:in `run'
    from /usr/lib/ruby/vendor_ruby/kafo/kafo_configure.rb:118:in `run'
    from /usr/sbin/foreman-installer:18:in `<main>'

Actions #1

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal

As a workaround, either when installing foreman-installer use this:

  • RPM: yum install puppet-3.7.4 foreman-installer
  • deb: apt-get install puppet=3.7.4-1puppetlabs1 puppet-common=3.7.4-1puppetlabs1 foreman-installer

Or if you've already got 3.7.5 installed and wish to downgrade to run the installer:

  • RPM: yum downgrade puppet-3.7.4
  • deb: apt-get install puppet=3.7.4-1puppetlabs1 puppet-common=3.7.4-1puppetlabs1
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/kafo_parsers/pull/9 added
  • Pull request deleted ()
Actions #3

Updated by Marek Hulán almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Merged, released in kafo_parsers 0.0.5.

Actions

Also available in: Atom PDF