Project

General

Profile

Actions

Bug #17560

closed

Unable to install Katello 3.2 on CentOS 7.2

Added by Derek Ditch over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

I've tried this on both bare metal and in a vagrant vm, but get the same results. I followed the instructions on the Foreman Plugin page (https://theforeman.org/plugins/katello/3.2/installation/index.html)

[root@localhost vagrant]# foreman-installer --scenario katello --help
/usr/share/gems/gems/kafo-0.9.8/lib/kafo/puppet_module.rb:69:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/katello-installer-base/modules/certs/manifests/init.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `block in modules'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `map'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:89:in `modules'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:189:in `params'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/configuration.rb:199:in `preset_defaults_from_puppet'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:270:in `set_parameters'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:99:in `initialize'
    from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `new'
    from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
    from /usr/share/gems/gems/kafo-0.9.8/lib/kafo/kafo_configure.rb:154:in `run'
    from /sbin/foreman-installer:8:in `<main>'

My Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "bento/centos-7.2" 
  config.vm.provider "vmware_fusion" do |v|
    v.vmx["memsize"] = 4096
    v.vmx["numvcpus"] = 2
  end
end
Actions #1

Updated by daehyung lee over 7 years ago

Derek Ditch wrote:

I've tried this on both bare metal and in a vagrant vm, but get the same results. I followed the instructions on the Foreman Plugin page (https://theforeman.org/plugins/katello/3.2/installation/index.html)

[...]

My Vagrantfile

[...]

I think you enabled puppetlabs pc1 repository before running foreman-installer.
You should follow the order. but you could solve this problem by running these command. actually I've got this situation too.

Try these and run installer again :

  1. gem install yard
  2. puppet module install puppetlabs-strings
Actions #2

Updated by Justin Sherrill over 7 years ago

  • Category set to Installer
  • Assignee set to Eric Helms
  • translation missing: en.field_release set to 197
  • Difficulty set to easy
Actions #3

Updated by Justin Sherrill over 7 years ago

  • Status changed from New to Closed

This should be solved by a rebuild of katello-installer on 3.2.1

Actions

Also available in: Atom PDF