Bug #5495
closedCannot validate ISO content url
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'
Updated by Stephen Herr over 10 years ago
Pull request submitted: https://github.com/Katello/katello/pull/4016
Updated by Stephen Herr over 10 years ago
- Subject changed from Cannot validage ISO content url to Cannot validate ISO content url
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release set to 13