Project

General

Profile

Actions

Bug #5495

closed

Cannot validate ISO content url

Added by Stephen Herr about 10 years ago. Updated about 6 years ago.

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

Description

Commit f0581b72a63bd9c4aca36f62c59523097fa338b9 added the ability to check if the cdn url for a repo is valid or not, and throw an error if it's not valid. Unfortunately it didn't take into account that some repositories (like ISO repos) do not contain yum repodata, and instead have pulp manifests. This causes the validation of ISO repositories to always fail with errors like so:

CDN: Requesting path https://cdn.redhat.com:443/content/dist/rhel/server/6/6Server/x86_64/iso/repodata
CDN loading error: https://cdn.redhat.com:443/content/dist/rhel/server/6/6Server/x86_64/iso/repodata not found {"basearch"=>"x86_64", "releasever"=>"6Server"} are not valid substitutions for /content/dist/rhel/server/6/$releasever/$basearch/iso (RuntimeError)
/home/sherr/katello/app/models/katello/candlepin/content.rb:93:in `check_substitutions!'
/home/sherr/katello/app/lib/actions/katello/repository_set/enable_repository.rb:24:in `plan'

Actions #2

Updated by Stephen Herr about 10 years ago

  • Subject changed from Cannot validage ISO content url to Cannot validate ISO content url
Actions #3

Updated by Eric Helms about 10 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms almost 10 years ago

  • Translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF