Bug 1830884 - bootstrap.py script tries to yum install puppet package that is not in rhel-7-server-satellite-tools-6.7-rpms repo
Summary: bootstrap.py script tries to yum install puppet package that is not in rhel-7...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Bootstrap
Version: 6.7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.8.0
Assignee: Evgeni Golov
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-04 08:27 UTC by Brenden Wood
Modified: 2020-10-27 13:02 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Katello katello-client-bootstrap pull 328 0 None closed BZ#1830884 - drop support for puppet < 4 2020-10-28 17:38:27 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:02:24 UTC

Description Brenden Wood 2020-05-04 08:27:57 UTC
Description of problem:

"puppet-agent" is available in the rhel-7-server-satellite-tools-6.7-rpms repo and contains everything needed to register host to Satellite 6.7 manually but the regular "puppet" package is not present in the repo (seems it was moved to rh-common repo).

When using the bootstrap.py script to register hosts to Satellite 6.7 it will try to yum install puppet and fail because the package does not exist in any repos ( assuming you only have Base + Satellite-Tools-6.7 ).

Comment 3 Evgeni Golov 2020-05-07 14:06:10 UTC
brenden, the puppet-agent package in sat-tools has a "provides: puppet", so it should actually work.

Comment 4 Brenden Wood 2020-05-08 00:00:29 UTC
Evgeni, you're right that the puppet-agent package provides puppet but it seems that bootstrap.py explicitly tries to run "yum install puppet" and fails. Shouldn't the bootstrap.py script instead be running "yum install puppet-agent" at that step?

I was on a customer site and could not get logs or example output but I will see if I can reproduce this on another Satellite 6.7 to confirm

Comment 5 Evgeni Golov 2020-05-08 05:56:14 UTC
(In reply to Brenden Wood from comment #4)
> Evgeni, you're right that the puppet-agent package provides puppet but it
> seems that bootstrap.py explicitly tries to run "yum install puppet" and
> fails. Shouldn't the bootstrap.py script instead be running "yum install
> puppet-agent" at that step?

Yeah, it *should*. And that's also what I've implemented in the PR (https://github.com/Katello/katello-client-bootstrap/pull/328) as nothing uses the old "puppet" name anymore.
However, yum should just fine resolve that provides and install the "puppet-agent" RPM when it is asked to install "puppet"

> I was on a customer site and could not get logs or example output but I will
> see if I can reproduce this on another Satellite 6.7 to confirm

That'd be cool. We'll fix/cleanup the code either way, but would be good to know how quickly we need to push the fix out.

Comment 12 errata-xmlrpc 2020-10-27 13:02:11 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.