Satellite installer fails with docker manifest error
Environment
Satellite 6.6
Issue
Running satellite-installer fails with
/usr/share/gems/gems/kafo-3.0.0/lib/kafo/puppet_module.rb:69:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/modules/foreman/manifests/plugin/docker.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)
Resolution
Please remove or comment out the following line in the answer files (foreman-answers.yaml, satellite-answers.yaml or any other where the line is present):
foreman::plugin::docker: false
For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.
Root Cause
Foreman docker plugin is deprecated and not used anymore.
Diagnostic Steps
The following logs are present in the installer log:
root@satellite.example.com:~satellite-installer --scenario satellite --certs-server-cert "/root/sat_cert/satellite_cert.pem" --certs-server-key "/root/sat_cert/satellite_cert_key.pem" --certs-server-ca-cert "/root/sat_cert/ca_cert_bundle.pem" --certs-update-server --certs-update-server-ca
/usr/share/gems/gems/kafo-3.0.0/lib/kafo/puppet_module.rb:69:in `parse': No Puppet module parser is installed and no cache of the file /usr/share/foreman-installer/modules/foreman/manifests/plugin/docker.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/configuration.rb:96:in `block in modules'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/configuration.rb:96:in `map'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/configuration.rb:96:in `modules'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/configuration.rb:214:in `params'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/configuration.rb:224:in `preset_defaults_from_puppet'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:285:in `set_parameters'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:100:in `initialize'
from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `new'
from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
from /usr/share/gems/gems/kafo-3.0.0/lib/kafo/kafo_configure.rb:163:in `run'
from /usr/sbin/satellite-installer:8:in `<main>'
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.