I am trying to Install Foreman 2.5 server with Katello 4.1 plugin on Centos 7 Linux Using the below document.
going through the below steps I was getting response
[root@xxxxx]# yum localinstall https://yum.theforeman.org/releases/2.5/el7/x86_64/foreman-release.rpm
Loaded plugins: fastestmirror, langpacks
Cannot open: https://yum.theforeman.org/releases/2.5/el7/x86_64/foreman-release.rpm. Skipping.
Nothing to do
[root@xxxxx]# yum localinstall https://yum.theforeman.org/katello/4.1/katello/el7/x86_64/katello-repos-latest.rpm
Loaded plugins: fastestmirror, langpacks
Cannot open: https://yum.theforeman.org/katello/4.1/katello/el7/x86_64/katello-repos-latest.rpm. Skipping.
Nothing to do
I decide to use wget command with
–no-check-certificat option.
See the commands below.e
CentOS 7
wget https://yum.theforeman.org/releases/2.5/el7/x86_64/foreman-release.rpm --no-check-certificate
wget https://yum.puppet.com/puppet6-release-el-7.noarch.rpm --no-check-certificate
wget https://yum.theforeman.org/katello/4.1/katello/el7/x86_64/katello-repos-latest.rpm --no-check-certificate
After I was able to use yum localinstall foreman-release.rpm, katello-repos-latest.rmp and puppet6-release-el-7.noarch.rpm packages and I can see the repositories.
-rw-r–r–. 1 root root 259 Feb 5 06:50 puppet6.repo
-rw-r–r–. 1 root root 1469 Jun 22 03:46 katello.repo
-rw-r–r–. 1 root root 354 Jun 24 00:51 foreman.repo
-rw-r–r–. 1 root root 384 Jun 24 00:51 foreman-plugins.repo
I have been since able to yum update while i had to disable repo for foreman.
But when i try to enable foreman, katello and puppet6 repo i was not able to look for foreman-installer-katello.
I am getting the below error message.
Any suggestions please!!!
[root@aidris yum.repos.d]# yum install foreman-installer-katello
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
- base: mirrors.lug.mtu.edu
- centos-sclo-rh: mirror.es.its.nyu.edu
- epel: mirror.steadfastnet.com
- extras: mirror.arizona.edu
- updates: mirror.us.oneandone.net
https://yum.theforeman.org/releases/2.5/el7/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s certificate issuer has been marked as not trusted by the user.”
Trying other mirror.
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
You can try to solve this issue by using the instructions on yum-errors - CentOS Wiki
If above article doesn’t help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories failed (Foreman 2.5),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=foreman ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable foreman
or
subscription-manager repos --disable=foreman
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=foreman.skip_if_unavailable=true
failure: repodata/repomd.xml from foreman: [Errno 256] No more mirrors to try.
https://yum.theforeman.org/releases/2.5/el7/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s certificate issuer has been marked as not trusted by the user.”