| Summary: | Better error message when content url for red hat provider is not accessible | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jeff Weiss <jweiss> |
| Component: | WebUI | Assignee: | Marek Hulan <mhulan> |
| Status: | CLOSED WORKSFORME | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | dajohnso, mhulan, mmccune, tomckay |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-22 16:35:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jeff Weiss
2012-02-13 15:20:22 UTC
I cannot reproduce this. If I don't touch CDN and leave default https://cdn.redhat.com then import finishes with success. I also tried to use invalid URL like "http://" (avoiding validation) and I received error notification as expected. Error message: "Subscription manifest upload for provider 'Red Hat' failed. Reason: bad URI(absolute but no path): https:// bad URI(absolute but no path): https:// (URI::InvalidURIError)" Could you please retest with current version? In case you still think there's a bug please provide more detailed instructions to reproduce. If the import succeeds with the zoo manifest but the content URL pointing to CDN, then that is a problem, isn't it? The content defined in the zoo manifest is not present on the cdn, katello should say so. it fails for me with the zoo manifest: Subscription manifest upload for provider 'Red Hat' failed. Reason: CDN loading error: access denied to https://cdn.redhat.com/content/zoo/listing CDN loading error: access denied to https://cdn.redhat.com/content/zoo/listing (Errors::SecurityViolation) based on the fact that it correctly generates an error message now we are closing this. I changed this behavior in commit https://github.com/Katello/katello/commit/f7938ea06c40d50e16f3923b90d927a7b200ec75 so now it won't raise error, just inform user via green notification. More info in pull request https://github.com/Katello/katello/pull/1456 and wiki https://fedorahosted.org/katello/wiki/ManifestImportErrorHandlingDesign I just realized that this merge made Red Hat repositories page not working in headpin mode. Fix is in new PR https://github.com/Katello/katello/pull/1479 that is awaiting for review and merge. To follow up comment #7 - merged in https://github.com/Katello/katello/commit/3c9a4e44a2c92e38f10f0dd7e99bbef035a1987a |