Bug 1610415
Summary: | Unhelpful error messages when manifest can't be found upstream | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mirek Długosz <mzalewsk> | ||||||
Component: | Subscription Management | Assignee: | Liza <egilman> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.4 | CC: | egolov, sghai, walden | ||||||
Target Milestone: | 6.4.0 | Keywords: | Triaged, UserExperience | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | tfm-rubygem-katello-3.7.0.28-1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-10-16 19:05:34 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Attaching screenshot of the error. Note: in 6.3, this error will not exist, since there is no API call to the RHSM for upstream allocation information. Created attachment 1472961 [details]
Page load after deleting allocation on RHSM.
Created redmine issue https://projects.theforeman.org/issues/24535 from this bug Should we target this for 6.4? Not sure how common of a usecase deleting a manifest is though. Upstream bug assigned to egilman Upstream bug assigned to egilman Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24535 has been resolved. Verified! @ Satellite 6.4 snap 22 Steps: 1. Go to access.redhat.com, created new subscription allocation, allocated some product and downloaded manifest file 2. In Satellite, created new organization and upload manifest file 3. In access.redhat.com, deleted manifest 4. In Satellite, go to Content -> Subscriptions Observation: The Satellite subscription page showed the subscriptions is No Loner available and 'No error as said in the description of this bug is shown'. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927 |
Created attachment 1471864 [details] Excerpt from foreman log file 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.