Problem:
Not sure if I’ve missed something but I’m trying to synchronise repositories on a fresh kaetllo 3.16 disconnected server. The sync from my local repositories works fine and completes successfully (after much jiggery pokery) but the Published at link gives a 404 error and the content is not available even after publishing it in a content view the clients get 404 on the repomd.xml file
Whilst the details below refer to a single repository, this is effecting ALL repositories i.e. no content is available:
I’ve verified permissions, and that the files /links are in /var/lib/pulp, restarted server, republished metadata, Validated content sync. All with no joy.
Expected outcome:
Able to sync CentOS 7, CentOS 8 and EPEL repositories and publish that content.
Foreman and Proxy versions:
Installed Packages
foreman.noarch 2.1.3-1.el7 @foreman-local
katello.noarch 3.16.1-1.el7 @katello-local
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7.9
Other relevant data:
Clicking on Published at link gives the following in apache log:
9.9.9.9 - - [26/Nov/2020:14:56:00 +1030] “GET /pulp/repos/ORG/Library/custom/CentOS_8/CentOS_8_AppStream/ HTTP/1.1” 404 14 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36”
dnf install katello-host-tools on an attached client give the following in apache log:
10.0.0.0 - - [26/Nov/2020:14:56:07 +1030] “GET /rhsm/consumers/049c4a3f-a49a-4200-8a37-53aa2660cbe0/certificates/serials HTTP/1.1” 200 485 “-” “RHSM/1.0 (cmd=dnf)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /rhsm/status HTTP/1.1” 200 399 “-” “RHSM/1.0 (cmd=dnf)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /rhsm/consumers/049c4a3f-a49a-4200-8a37-53aa2660cbe0/content_overrides HTTP/1.1” 200 2 “-” “RHSM/1.0 (cmd=dnf)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /pulp/repos/ORG/DEV/CentOS8/custom/CentOS_8/CentOS_8_BaseOS/repodata/repomd.xml HTTP/1.1” 404 14 “-” “libdnf (CentOS Linux 8; generic; Linux.x86_64)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /pulp/repos/ORG/DEV/CentOS8/custom/CentOS_8/CentOS_8_BaseOS/repodata/repomd.xml HTTP/1.1” 404 14 “-” “libdnf (CentOS Linux 8; generic; Linux.x86_64)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /pulp/repos/ORG/DEV/CentOS8/custom/CentOS_8/CentOS_8_BaseOS/repodata/repomd.xml HTTP/1.1” 404 14 “-” “libdnf (CentOS Linux 8; generic; Linux.x86_64)”
10.0.0.0 - - [26/Nov/2020:14:56:08 +1030] “GET /pulp/repos/ORG/DEV/CentOS8/custom/CentOS_8/CentOS_8_BaseOS/repodata/repomd.xml HTTP/1.1” 404 14 “-” “libdnf (CentOS Linux 8; generic; Linux.x86_64)”
Repository view