Project

General

Custom queries

Profile

Actions

Bug #33241

closed

404 error through content proxy due to incorrect location_href

Added by Gerald Vogt almost 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

https://foreman-content.example.com/pulp/content/ORG/Production/centos7/custom/elastic/elasticsearch-6-x/Packages/k/kibana-6.8.18-x86_64.rpm

which results in a 404 for the client.

The content proxy uses the following URL to get the rpm from the main server:

https://foreman.example.com/pulp/content/ORG/Production/centos8/custom/elastic/elasticsearch-6-x/6.8.18/kibana-6.8.18-x86_64.rpm

which does not exist. The correct URL would be:

https://foreman.example.com/pulp/content/ORG/Production/centos8/custom/elastic/elasticsearch-6-x/Packages/k/kibana-6.8.18-x86_64.rpm

#1

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
#3

Updated by Justin Sherrill over 3 years ago

  • Status changed from New to Rejected
  • Target version changed from Katello 4.3.0 to Katello Backlog
Actions

Also available in: Atom PDF