Bug 1840745 - Satellite installation failed with puppet error " No Puppet module parser is installed"
Summary: Satellite installation failed with puppet error " No Puppet module parser is ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.8.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 14:23 UTC by Devendra Singh
Modified: 2020-10-27 13:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:02:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:02:57 UTC

Description Devendra Singh 2020-05-27 14:23:38 UTC
Description of problem:
Satellite installation failed with puppet errror

Version-Release number of selected component (if applicable):
6.8 Snap2

How reproducible:
always

Steps to Reproduce:
1. satellite-installer --scenario satellite
Traceback (most recent call last):
	19: from /usr/sbin/satellite-installer:8:in `<main>'
	18: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:162:in `run'
	17: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
	16: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `new'
	15: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:89:in `initialize'
	14: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:49:in `execute'
	13: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:49:in `each'
	12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:51:in `block in execute'
	11: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hook_context.rb:16:in `execute'
	10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hook_context.rb:16:in `instance_exec'
	 9: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
	 8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:34:in `instance_eval'
	 7: from /usr/share/foreman-installer/katello/hooks/boot/13-hiera.rb:1:in `block (4 levels) in load'
	 6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hook_context.rb:71:in `module_enabled?'
	 5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:228:in `module'
	 4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:224:in `modules'
	 3: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/configuration.rb:110:in `modules'
	 2: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/configuration.rb:110:in `map'
	 1: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/configuration.rb:110:in `block in modules'
/opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.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/leapp.pp is available. Please check debug logs and install optional dependencies for the parser. (Kafo::ParserError)


Actual results: 
Satellite installation failed


Expected results:
Satellite installation should complete successfully.


Additional info:

Comment 1 Marek Hulan 2020-05-27 14:31:39 UTC
to workaround, run this on the machine

wget https://raw.githubusercontent.com/theforeman/puppet-foreman/master/manifests/plugin/leapp.pp -O /usr/share/foreman-installer/modules/foreman/manifests/plugin/leapp.pp

Comment 5 Devendra Singh 2020-06-04 14:00:43 UTC
This bug has been successfully verified on 6.8 Snap3.

Comment 8 errata-xmlrpc 2020-10-27 13:02:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366


Note You need to log in before you can comment on or make changes to this bug.