Satellite 6 installer fails with the following error - "No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/modules/certs/manifests/init.pp is available."

Solution Verified - Updated -

Issue

  • Why does the execution of a satellite-installer command on a freshly installed Satellite Server fails with the following error -

    # satellite-installer --scenario satellite --foreman-initial-organization "Example_Org_Name" --foreman-initial-location "Example_Location_Name" --foreman-initial-admin-username admin --foreman-initial-admin-password 'xxxxxxxxxxxxxxxx'
    
    /usr/share/gems/gems/kafo-7.3.0/lib/kafo/puppet_module.rb:70:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/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-7.3.0/lib/kafo/configuration.rb:133:in `block in modules'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/configuration.rb:133:in `map'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/configuration.rb:133:in `modules'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:257:in `modules'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:261:in `module'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hook_context.rb:113:in `module_present?'
        from /usr/share/foreman-installer/hooks/boot/20-certs_update.rb:2:in `block (4 levels) in load'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:36:in `instance_eval'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:36:in `block (4 levels) in load'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hook_context.rb:19:in `instance_eval'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hook_context.rb:19:in `execute'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:67:in `block in execute'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:65:in `each'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:65:in `execute'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:144:in `initialize'
        from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:140:in `new'
        from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:140:in `run'
        from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:54:in `run'
        from /usr/sbin/satellite-installer:8:in `<main>'
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content