Bug 2041551

Summary: Puppet enable fails on RHEL8 due to missing package(s)
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:32:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimír Sedmík 2022-01-17 17:01:35 UTC
Description of problem:
Puppet enable fails on RHEL8 due to missing package `rubygem-hammer_cli_foreman_puppet`.


Version-Release number of selected component (if applicable):
Sat 7.0.0 snap 5 @ RHEL8.5


How reproducible:
always


Steps to Reproduce:
1. Have a 7.0 Satellite running on RHEL8.5, registered to DF
2. Try to enable puppet:
# satellite-installer --enable-foreman-plugin-puppet \
--enable-foreman-cli-puppet \
--foreman-proxy-puppet true \
--foreman-proxy-puppetca true \
--foreman-proxy-content-puppet true \
--enable-puppet \
--puppet-server true \
--puppet-server-foreman-ssl-ca /etc/pki/katello/puppet/puppet_client_ca.crt \
--puppet-server-foreman-ssl-cert /etc/pki/katello/puppet/puppet_client.crt \
--puppet-server-foreman-ssl-key /etc/pki/katello/puppet/puppet_client.key


Actual results:
2022-01-17 10:18:29 [NOTICE] [root] Loading installer configuration. This will take some time.
...
2022-01-17 10:19:39 [NOTICE] [configure] 750 configuration steps out of 2071 steps complete.
2022-01-17 10:19:46 [NOTICE] [configure] 1000 configuration steps out of 2077 steps complete.
2022-01-17 10:19:51 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-hammer_cli_foreman_puppet' returned 1: Error: Unable to find a match: rubygem-hammer_cli_foreman_puppet
2022-01-17 10:19:51 [ERROR ] [configure] /Stage[main]/Foreman::Cli::Puppet/Foreman::Cli::Plugin[foreman_puppet]/Package[rubygem-hammer_cli_foreman_puppet]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-hammer_cli_foreman_puppet' returned 1: Error: Unable to find a match: rubygem-hammer_cli_foreman_puppet
2022-01-17 10:19:55 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-foreman_puppet' returned 1: Error: Unable to find a match: rubygem-foreman_puppet
2022-01-17 10:19:55 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Puppet/Foreman::Plugin[puppet]/Package[rubygem-foreman_puppet]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-foreman_puppet' returned 1: Error: Unable to find a match: rubygem-foreman_puppet


Expected results:
Successfull install of rubygem-hammer_cli_foreman_puppet and plugin enabled.

Comment 2 Vladimír Sedmík 2022-04-06 15:20:07 UTC
Verified in 6.11.0 snap 15.0 - the plugin can be successfully enabled and disabled.

Comment 5 errata-xmlrpc 2022-07-05 14:32:03 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 (Moderate: Satellite 6.11 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-2022:5498