Problem:
Installing Foreman 1.18 on new RHEL 7.5 minimal install says GPG keys are wrong.
The GPG keys listed for the “Foreman 1.18” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: centos-release-scl-2-2.el7.centos.noarch
Expected outcome:
Not to get these errors.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Other relevant data:
I can attach the full foreman log, but it’s 2 MB, so I’m not sure where I can do that. Here is the bottom of the log.
Complete install command set:
Install RHEL 7.5 minimal.
Set hostname: hostnamectl set-hostname foreman.kvm.local
Set Static IP for host: vi /etc/sysconfig/network-scripts/ifcfg-eth0
Add /etc/hosts entry: vi /etc/hosts
Install yum-utils: yum -y install yum-utils
Disable firewalld and selinux:
systemctl stop firewalld
systemctl disable firewalld
vi /etc/sysconfig/selinux
setenforce 0
Follow quickstart guide:
yum-config-manager --enable rhel-7-server-optional-rpms
yum -y install https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install https://yum.theforeman.org/releases/1.18/el7/x86_64/foreman-release.rpm
yum -y update
yum -y install foreman-installer
foreman-installer