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.
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
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.
Are you sure you’re reading the correct documentation for Foreman version 3.4? The dnf module command you posted refers to the “el9” as in RHEL 9 which is required from Foreman version 3.12, I believe? The document you linked that you followed doesn’t have the el9 mentioned anywhere. Please, double check that you’re on the correct version of the documentation in the top right corner of the page.
Good luck!
Note: Maybe you should consider upgrading to the latest supported version of Foreman with Katello. You can only upgrade one minor version at a time. No jumping over any of them or you can face major issues and broken installation. Pay attention to the jump from RHEL 8 to RHEL 9 at version 3.12. There is in-place upgrade guide available too.
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