RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1924338 - Content host connected to the SCA enabled Satellite is showing as Not subscribed after attaching a valid subscription
Summary: Content host connected to the SCA enabled Satellite is showing as Not subscri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.6
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
: 1951830 (view as bug list)
Depends On:
Blocks: 2022789
TreeView+ depends on / blocked
 
Reported: 2021-02-02 22:50 UTC by Dhaval Joshi
Modified: 2024-06-14 00:08 UTC (History)
7 users (show)

Fixed In Version: subscription-manager-1.28.24-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2022789 (view as bug list)
Environment:
Last Closed: 2022-05-10 15:22:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2776 0 None Merged 1924338: list prints not status and dates in SCA mode 2021-10-21 13:49:48 UTC
Github candlepin subscription-manager pull 2792 0 None Merged 1924338: [1.28] list prints no status and dates in SCA mode 2021-10-21 13:52:30 UTC
Red Hat Product Errata RHBA-2022:2047 0 None None None 2022-05-10 15:23:20 UTC

Description Dhaval Joshi 2021-02-02 22:50:27 UTC
Description of problem:
On SCA enabled Satellite, a content host connected to the Satellite server is still showing as Not subscribed after attaching a valid subscription manually.

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


How reproducible:
100%

Steps to Reproduce:
1. Enable SCA on the Satellite server.
2. Register a host to the Satellite server.
3. Attach a valid RHEL subscription

Actual results:
The host is showing as Not Subscribed.

Expected results:
The host should be subscribed.

Additional info:

Comment 2 Ashish Humbe 2021-02-04 15:27:34 UTC
It seems that the latest subscription-manager package is not installed on the client, can you please reconfirm?

Comment 3 Ashish Humbe 2021-02-04 15:28:33 UTC
Also, here we are using SCA so we do not need to assign the subscription to the client systems manually.

Comment 5 Brad Buckingham 2021-02-08 14:39:22 UTC
Does 'subscription-manager identity' show that SCA is enabled?

Is the client able to consume the content?

Comment 8 Rehana 2021-02-09 14:57:46 UTC
This is working as per the implementation, we have improved the message in the `subscription-manager status ` command  to inform users about the SCA mode. Moving this bug  to subscription-manager . 

Rich ,

Can you please help us evaluate this request and please let us know if need to make any change to the message in the "subscription-manager list --installed " output. 

thanks,
Rehana

Comment 10 Rich Jerrido 2021-02-09 16:54:48 UTC
(In reply to Rehana from comment #8)
> This is working as per the implementation, we have improved the message in
> the `subscription-manager status ` command  to inform users about the SCA
> mode. Moving this bug  to subscription-manager . 
> 
> Rich ,
> 
> Can you please help us evaluate this request and please let us know if need
> to make any change to the message in the "subscription-manager list
> --installed " output. 
> 
> thanks,
> Rehana

I think it is a reasonable improvement to subscription-manager to improve the output of the `list --installed` subcommand when SCA is enabled, so as to minimize user confusion.

Comment 12 Rehana 2021-07-12 14:09:19 UTC
*** Bug 1951830 has been marked as a duplicate of this bug. ***

Comment 13 Rehana 2021-11-09 16:10:21 UTC
Reproducing the issue on: 
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.21-1
subscription management rules: 5.41
subscription-manager: 1.28.21-3.el8

# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64
Product ID:     479
Version:        8.5
Arch:           x86_64
Status:         Not Subscribed
Status Details: 
Starts:         
Ends:           

Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.5 Beta
Arch:           x86_64
Status:         Not Subscribed
Status Details: 
Starts:         
Ends: 

^^ Notice that in installed products are marked as "Not Subscribed" in SCA mode. 

Pre-verifying the fix on :

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.21-1
subscription management rules: 5.41
subscription-manager: 1.28.22-1.git.62.085fd3a.el8

# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled


# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID:   479
Version:      8.5
Arch:         x86_64

Product Name: Red Hat Enterprise Linux for x86_64 Beta
Product ID:   486
Version:      8.5 Beta
Arch:         x86_64

^^ Notice that "Status" , "Status Details" , "Starts" n "Ends" dates are no longer displayed in the subscription-manager list --installed.  The same updates are now reflected in Cockpit UI as well ( as demonstrated in https://bugzilla.redhat.com/show_bug.cgi?id=1979323#c3 )

Comment 17 Zdenek Petracek 2021-12-10 15:43:16 UTC
Registering:
[root@ibm-x3650m4-01-vm-06 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: zpetracePH03
Password: 
The system has been registered with ID: 5dce69f8-ea84-435f-b7a4-3080ebfc687d
The registered system name is: ibm-x3650m4-01-vm-06.ibm2.lab.eng.bos.redhat.com

Version:
[root@ibm-x3650m4-01-vm-06 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.21-1
subscription management rules: 5.41
subscription-manager: 1.28.24-1.el8

Verification:
[root@ibm-x3650m4-01-vm-06 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@ibm-x3650m4-01-vm-06 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64 Beta
Product ID:   486
Version:      8.6 Beta
Arch:         x86_64

Comment 19 errata-xmlrpc 2022-05-10 15:22:56 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 (subscription-manager bug fix and enhancement update), 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/RHBA-2022:2047


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