Bug 1206552

Summary: Red Hat Repositories displayed even after successful deletion of manifest.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Subscription ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, cwelton, mburgerh, mmccune, nshaik, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
URL: http://projects.theforeman.org/issues/10281
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 18:06:48 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:
Description Flags
Foreman Debug Logs And Screenshots ..
none
[FAILED QA] Screenshot attached.
none
[FailedQA 2] Scrrenshots attached. none

Description Jitendra Yejare 2015-03-27 12:09:06 UTC
Created attachment 1007203 [details]
Foreman Debug Logs And Screenshots ..

Description of problem:
Redhat repositories are still displayed in Content -> Redhat Repositories after uploading manifest and deleting that manifest(No subscription manifest present in Redhat Subscriptions page).

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150324.0 (Satellite 6.1 Snap8 RC1)

How reproducible:
Always

Steps to Reproduce:
1. Install Satellite 6.1 Snap 8 RC1.
2. Launch Satellite 6.1 Web UI.
3. Go to Content->Redhat Subscription page.
4. Upload a manifest.
5. Go to Content->Redhat Repositories page and verify Redhat repos are displayed.
6. Come back to Subscription page and delete the present and only manifest.
7. Go to, Redhat Repositories page. And Observe the page.

Actual results:
1. Redhat Repositories are displayed even after deleting a manifest.
2. Selecting repo from any product in the Redhat products, it throws an error 'can't convert nil into String'.

Expected results:
With No Subscription present, Redhat Repositories should not be displayed in Content->Redhat Repositories to select.
It should display a Information as 'No Red Hat products currently exist, please import a manifest here to receive Red Hat content.'

Additional info:

Comment 2 Tom McKay 2015-04-27 17:38:28 UTC
Created redmine issue http://projects.theforeman.org/issues/10281 from this bug

Comment 3 Bryan Kearney 2015-05-28 22:05:39 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10281 has been closed
-------------
Thomas McKay
Applied in changeset commit:katello|db9cbcc5a234299953fe85296ead507c9157871b.

Comment 5 Jitendra Yejare 2015-06-04 08:26:40 UTC
Verified this bug with latest Sat6 GA Snap 7 build, the bug is reproducible and so changing the status to Failed QA.

NOTE: Screenshot Attached for FAILED QA.

Comment 6 Jitendra Yejare 2015-06-04 08:28:01 UTC
Created attachment 1034607 [details]
[FAILED QA] Screenshot attached.

Comment 7 Maxim Burgerhout 2015-06-09 06:54:52 UTC
*** Bug 1229184 has been marked as a duplicate of this bug. ***

Comment 8 Tom McKay 2015-06-09 19:37:36 UTC
http://projects.theforeman.org/issues/10718
https://github.com/Katello/katello/pull/5281

This will correct the repos from showing up in multiple tabs of the UI.

Comment 11 Jitendra Yejare 2015-06-11 08:02:30 UTC
I tested this bug on latest GA (RC1) Snap 8, This is failing again.

Steps:
1. Imported manifest having Red Hat Employee Subscription and Red Hat Satellite Employee Subscription.
2. Verified that the RH repos displayed on uploading manifest.
3. Deleted manifest and observed that still there are RPMs, kickstart repos listed. But not allowing to select any of them. Showing 'No repositories accessible. Check that Red Hat Subscriptions have been imported.'

So assigning this to get it fix.

Screenshots attached.

Comment 12 Jitendra Yejare 2015-06-11 08:03:24 UTC
Created attachment 1037543 [details]
[FailedQA 2] Scrrenshots attached.

Comment 13 Bryan Kearney 2015-07-10 15:20:21 UTC
Given the current state, which shows an error message, we are moving this to 6.1 with a medium state.

Comment 14 Bryan Kearney 2016-02-02 11:04:24 UTC
Upstream bug assigned to tomckay

Comment 15 Bryan Kearney 2016-02-02 11:04:27 UTC
Upstream bug component is WebUI

Comment 16 Bryan Kearney 2016-02-05 19:04:04 UTC
Upstream bug component is WebUI

Comment 20 Bryan Kearney 2018-09-04 18:06:48 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.