Bug 1708851 - [Satellite 6.6.0 Snap2] "410 gone" alert popped up on Satellite UI after manifest file successfully uploaded.
Summary: [Satellite 6.6.0 Snap2] "410 gone" alert popped up on Satellite UI after mani...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.6.0
Assignee: John Mitsch
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-11 06:02 UTC by Devendra Singh
Modified: 2019-10-31 12:54 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-katello-3.12.0.3-11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:51:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26912 0 Normal Closed "410 gone" alert popped up on UI after manifest file successfully uploaded. 2020-11-17 19:32:30 UTC

Description Devendra Singh 2019-05-11 06:02:32 UTC
Description of problem:
"410 gone" alert popped up on Satellite UI after manifest file successfully uploaded.  


Version-Release number of selected component (if applicable):
6.6.0 -Snap2

How reproducible:
always

Steps to Reproduce:
1. Install satellite.
2. Login to Satellite UI.
3. Click on the content sidebar and select Subscriptions 
4. Upload manifest file.
5. Manifest file uploaded successfully.

Actual results:
After manifest file uploaded we observed "410 Gone" message on the Subscriptions screen.

Expected results:

This alert should not be displayed on the UI screen after manifest file uploaded.


Additional info:

This popped up alert didn't observe on Satellite 6.5.

Comment 5 Devendra Singh 2019-05-24 15:52:11 UTC
Uploaded manifest file available on CDN, I downloaded it at "14 March 2019", And used the same manifest here(the Same step repeated today and observed 410 gone error with the older manifest file)

But this issue didn't observe with the latest created manifest file.

Comment 11 John Mitsch 2019-05-29 22:14:17 UTC
Created redmine issue https://projects.theforeman.org/issues/26912 from this bug

Comment 12 John Mitsch 2019-05-29 22:22:42 UTC
Thanks Devendra,

The error is valid, 410 GONE means the subscription allocation no longer exists in RHSM, you will have to create a new manifest in the portal and import it. I opened a PR to show a more user-friendly message.

Comment 13 Bryan Kearney 2019-05-30 00:03:38 UTC
Upstream bug assigned to jomitsch

Comment 14 Bryan Kearney 2019-05-30 00:03:39 UTC
Upstream bug assigned to jomitsch

Comment 15 Bryan Kearney 2019-06-11 14:03:46 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26912 has been resolved.

Comment 17 Devendra Singh 2019-07-11 09:31:47 UTC
Thanks John for fixing this issue.

This issue has been successfully verified with the latest snap(6.6.0-snap10).

The populated message after uploading the non-existence manifest file was very meaningful. 

"The Subscription Allocation providing the imported manifest has been removed. Please create a new Subscription Allocation and import the new manifest."

Comment 18 Bryan Kearney 2019-10-22 19:51:16 UTC
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-2019:3172


Note You need to log in before you can comment on or make changes to this bug.