Hello guys,
We need your help.
We lost our Katello server and after building a new one the Red Hat repos
aren't accessible by content hosts.
- These are the error messages when executing yum repolist on the content
host:
https://qxpgsv20.corp.shq.local/pulp/repos/Default_Organization/SHQ/RHEL_7_OS/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more
mirrors to try.
https://qxpgsv20.corp.shq.local/pulp/repos/Default_Organization/SHQ/RHEL_7_OS/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] HTTPS Error 403 - Forbidden
-
Details:
Foreman version: 1.9.3
Katello version: 2.3.0-6.el7.noarch -
Steps to reproduce:
- Install katello 2.3
- Download license manifest from redhat site (this manifest was in use by
our old katello server) - Upload manifest
- Select Kickstart and RPM repos
- Sync these repos
- Deploy a new RHEL 7 host
- Execute yum repo list or try to install a package on content host
- Output:
[root@testsc1 ~]# yum repolist -v
Not loading "rhnplugin" plugin, as it is disabled
Loading "product-id" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Config time: 0.806
Yum version: 3.4.3
https://qxpgsv20.corp.shq.local/pulp/repos/Default_Organization/SHQ/RHEL_7_OS/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
One of the configured repositories failed (Red Hat Enterprise Linux 7
Server (RPMs)),
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. Disable the repository, 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 rhel-7-server-rpms
4. 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=rhel-7-server-rpms.skip_if_unavailable=true
failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more
mirrors to try.
https://qxpgsv20.corp.shq.local/pulp/repos/Default_Organization/SHQ/RHEL_7_OS/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
[Errno 14] HTTPS Error 403 - Forbidden
Thank you
Regards,
Fernando