Project

General

Profile

Actions

Bug #24535

closed

Unhelpful error messages when manifest can't be found upstream

Added by Walden Raines over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Justin Sherrill over 5 years ago

  • Target version set to Katello 3.9.0
  • Triaged changed from No to Yes
Actions #2

Updated by Tomáš Strachota over 5 years ago

  • Team Backlog UX added
Actions #3

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7681 added
Actions #4

Updated by Walden Raines over 5 years ago

  • Assignee set to Liza Gilman
Actions #5

Updated by Liza Gilman over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF