scenario: I inherited the admin of a foreman installation, with stuff all documentation from its previous admin. I’m learning on my feet, slowly, as i go along so if anything that follows seems daft, or Foreman 101, that’s why.
Ive done a bit more reading and background and have ended up trying to just install on a nice fresh vanilla rhel8 build unregistered to redhat.
The installation fails with
]# dnf module enable pulpcore:el8
Updating Subscription Management repositories.
Puppet 7 Repository el 8 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘puppet7’:
Curl error (56): Failure when receiving data from the peer for http://yum.puppet.com/puppet7/el/8/x86_64/repodata/repomd.xml [Recv failure: Connection reset by peer]
Error: Failed to download metadata for repo ‘puppet7’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Expected outcome:
successful completion of foreman installation as per those foreman install directions etc
Foreman and Proxy versions:
foreman-release-3.4.1-1.el8.noarch
Foreman and Proxy plugin versions:
Dont know how to ascertain that
Distribution and version:
Dont know how to ascertain that
Other relevant data:
N/A
all and any help, pointers, advice gratefully received, but merely saying “go away and read about it” doesnt solve my predicament ie the official install instructions don’t work.
following the above suggestions I’ve spoken with the PTB aboput it and have approval to build a rhel9 system and install on that. This system to be patched registered to redhat, until this foreman is then built and updated for rhel9 packages etc etc and can support itself etc. (which is how we use it here).
So stand down for now, and from my perspective this thread is closed .
I’ll open another call if I have trouble with a rhel9 foreman build
Updating Subscription Management repositories.
repo id repo name
candlepin Candlepin: an open source entitlement management system.
foreman Foreman 3.14
foreman-plugins Foreman plugins 3.14
katello Katello 4.16
pulpcore pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet7 Puppet 7 Repository el 9 - x86_64
dnf upgrade
Updating Subscription Management repositories.
Puppet 7 Repository el 9 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘puppet7’:
Curl error (56): Failure when receiving data from the peer for http://yum.puppet.com/puppet7/el/9/x86_64/repodata/repomd.xml [Recv failure: Connection reset by peer]
Error: Failed to download metadata for repo ‘puppet7’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I get the same issue if I try puppet8 rather than puppet7.
Are you using a proxy in between the Foreman install and the Puppet repo that could be causing an issue with SSL or a caching issue? Is the time correct on the system as well?
If you try to manually make the Puppet repo with the following contents in /etc/yum.repos.d/puppet. Repo