Project

General

Profile

Bug #5495

Cannot validate ISO content url

Added by Stephen Herr about 9 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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'

Associated revisions

Revision f00114dc (diff)
Added by Stephen Herr about 9 years ago

Fixes #5495 - Validate content urls for ISO repositories

Revision dc1e082a
Added by Eric Helms about 9 years ago

Merge pull request #52 from ehelms/fixes-devel-issues

Fixes #5495, #5472, #5467 - Updates to the devel module to address RVM issues.

History

#2 Updated by Stephen Herr about 9 years ago

  • Subject changed from Cannot validage ISO content url to Cannot validate ISO content url

#3 Updated by Eric Helms almost 9 years ago

  • Triaged changed from No to Yes

#4 Updated by Eric Helms almost 9 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF