Bug 2223809

Summary: The "Subscriptions" tab within "Content Hosts" page in Satellite WebUI is missing when SCA is disabled
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.14.0CC: jlenz, rlavi
Target Milestone: 6.14.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 12:53:35 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:

Description Jayant Bhatia 2023-07-19 02:21:46 UTC
Description of problem:

After 'Simple Content Access' (SCA) is disabled, the subscriptions cannot be attached to the registered client host via Satellite WebUI after navigating to "Satellite WebUI -> Hosts -> Content Hosts" page because the "Subscriptions" tab is missing.


Version-Release number of selected component (if applicable): Satellite 6.14.


How reproducible: Always


Steps to Reproduce:
1. Build a new Satellite-6.14 and register a client host with Satellite.

2. Disable the 'Simple Content Access' (SCA) using below command on Satellite.

[root@satellite ~]# hammer simple-content-access disable --organization-id 1
[.........................................................................................................................................] [100%]

[root@satellite ~]# hammer simple-content-access status --organization-id 1
---------------------
SIMPLE CONTENT ACCESS
---------------------
no                   
---------------------

3. Navigate to Satellite WebUI -> Hosts -> Content Hosts -> Click on the name of registered client host.


Actual results: The Subscriptions tab is missing and there is no option available to attach the subscription to the registered client host.


Expected results: The Subscriptions tab should be present, so the subscriptions can be attached to the registered client host via Satellite WebUI when SCA is disabled.


Additional info: The subscriptions can be attached to the registered client host via command line on the client host using "Subscription-manager" command.

Comment 2 Jeremy Lenz 2023-07-27 20:41:23 UTC
Hi Jayant,

I am unable to reproduce this upstream.

To see the Subscriptions tab, you have to click the vertical ellipsis in the upper right corner, then click Legacy Content Host UI.

When I do so, I am able to see the Subscriptions tab for hosts in my non-SCA org, whether I have disabled SCA via the web UI or hammer.

(We didn't build a Subscriptions tab in the new host details UI, because entitlement management is deprecated and will be removed in the next few releases.)

Are you able to see the Subscriptions tab on the legacy content host page? 

Please confirm. thanks!