Project

General

Profile

Bug #17560

Unable to install Katello 3.2 on CentOS 7.2

Added by Derek Ditch over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

History

#1 Updated by daehyung lee over 5 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

#2 Updated by Justin Sherrill over 5 years ago

  • Category set to Installer
  • Assignee set to Eric Helms
  • Legacy Backlogs Release (now unused) set to 197
  • Difficulty set to easy

#3 Updated by Justin Sherrill over 5 years ago

  • Status changed from New to Closed

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

Also available in: Atom PDF