Bug #33241
closed404 error through content proxy due to incorrect location_href
Description
I posted this here: https://community.theforeman.org/t/katello-4-1-2-1-404-error-through-content-proxy-due-to-incorrect-location-href/24812
It seems that for some reason the main server and the content proxy can use different schemas for the organization of the packages inside a repository which doesn't always seem to match.
Client accesses content proxy to retrieve the latest kibana rpm:
which results in a 404 for the client.
The content proxy uses the following URL to get the rpm from the main server:
which does not exist. The correct URL would be:
Updated by Chris Roberts over 3 years ago
- Category set to Repositories
- Target version set to Katello 4.3.0
- Triaged changed from No to Yes
Updated by Gerald Vogt over 3 years ago
This issue also affects other repositories like centos7 updates. I have just posted more in the community
For example, access through the proxy to bind-libs
is mapped to the main server URL
which does not exist. The main server has it at
I have just noticed this during a pxe installation test. It's not only bind-libs but according to the logs a total of 133 packages could not be downloaded...
Updated by Justin Sherrill about 3 years ago
- Status changed from New to Rejected
- Target version changed from Katello 4.3.0 to Katello Backlog
Closing this as the underlying problem was that pulp was mirroring metadata that shouldn't be mirrored. This was due to 'mirror on sync' being reused for that feature. You can disable mirror on sync for now, but in 4.3 a new option 'mirroring policy' is present to give more fine grained control of this mirroring.