Bug #24535
closedUnhelpful error messages when manifest can't be found upstream
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1610415
If manifest can't be found upstream (usually in RHSM), "Subscriptions" page will display unhelpful error message that consists only of HTTP error. Satellite log is a bit better, but still doesn't make it easy to understand what the issue is.
Manifest might be missing from upstream if it was deleted there (this will result in error 410) or if manifest if was manually changed (this will result in error 404 and is probably done only by robottelo test framework).
Version-Release number of selected component (if applicable):
satellite-6.4.0-10.beta.el7sat.noarch
foreman-1.18.0.4-1.el7sat.noarch
katello-3.7.0-4.rc2.el7sat.noarch
Steps to Reproduce:
1. Go to access.redhat.com, create new subscription allocation, allocate some product and download manifest file
2. In Satellite, create new organization and upload manifest file
3. In access.redhat.com, remove subscription allocation created in step 1
4. In Satellite, go to Content -> Subscriptions
Actual results:
Following error message is displayed:
"410 Gone"
If instead of removing subscription, we manually change zip content ("uuid" must be changed in manifest.zip/consumer_export.zip/export/consumer.json), then error message will be "404 Not Found".
It's impossible to tell what caused this error and how to solve it.
Expected results:
More helpful error message is displayed.
Updated by Justin Sherrill over 6 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7681 added
Updated by Liza Gilman over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|1f88926d5598b765ead21429cb1b240be76e0caf.