Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2175879

Summary: Simple Content Access to Portal, EUS not working without manually attaching sub [rhel-8.2.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: subscription-managerAssignee: Pino Toscano <ptoscano>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: urgent    
Version: 8.2CC: arpandey, csnyder, jhnidek, jsefler, lmiksik, redakkan, rjerrido, sgajendr, skallesh, sshashi, tquinlan
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: 8.2Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: subscription-manager-1.26.22-1.el8_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1924921 Environment:
Last Closed: 2023-04-18 17:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1924921    
Bug Blocks:    

Comment 1 Archana Pandey 2023-03-07 14:28:39 UTC
Pre-verification: 

reproducing the issue -
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.26.20-1.el8_2
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager re^C
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.26.20-1.el8_2
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager register --username ******** --password **********
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: 0691ce69-50d6-4d77-84e1-d687c6cb6806
The registered system name is: kvm-01-guest03.lab.eng.tlv2.redhat.com
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager release --list
No release versions available, please check subscriptions.       <<<<<<<<<<< No release list available in SCA Mode
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# ll /etc/pki/entitlement/
total 80
-rw-r--r--. 1 root root  3272 Mar  7 16:17 1892641073398745297-key.pem
-rw-r--r--. 1 root root 73859 Mar  7 16:17 1892641073398745297.pem
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# subscription-manager attach --pool 2c94b72586a38c360186a7a5bcea0916
Successfully attached a subscription for: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
[root@kvm-01-guest03 ~]# 
[root@kvm-01-guest03 ~]# ll /etc/pki/entitlement/
total 120
-rw-r--r--. 1 root root  3272 Mar  7 16:19 1892641073398745297-key.pem
-rw-r--r--. 1 root root 73859 Mar  7 16:19 1892641073398745297.pem
-rw-r--r--. 1 root root  3272 Mar  7 16:19 4543083206985140530-key.pem
-rw-r--r--. 1 root root 33600 Mar  7 16:19 4543083206985140530.pem
[root@kvm-01-guest03 ~]# subscription-manager release --list
+-------------------------------------------+
          Available Releases
+-------------------------------------------+
8
8.0
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
[root@kvm-01-guest03 ~]# 

=================================================================================

>> verifying issue on scratch build after upgrade
[root@kvm-01-guest03 sub-manpatch]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.26.21-1.git.1.0a38531.el8_2
[root@kvm-01-guest03 sub-manpatch]#

[root@kvm-01-guest03 sub-manpatch]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@kvm-01-guest03 sub-manpatch]#  ll /etc/pki/entitlement/
total 80
-rw-r--r--. 1 root root  3272 Mar  7 16:25 3858420811288025323-key.pem
-rw-r--r--. 1 root root 73859 Mar  7 16:26 3858420811288025323.pem
[root@kvm-01-guest03 sub-manpatch]# 
[root@kvm-01-guest03 sub-manpatch]# subscription-manager release  --list
+-------------------------------------------+
          Available Releases
+-------------------------------------------+
8
8.0
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9

Verification: Successfully verified that release can be listed in SCA mode

Comment 4 Archana Pandey 2023-03-22 10:16:12 UTC
Final Verification: subscription-manager-1.26.22-1.el8_2.x86_64

 
[root@ibm-x3650m4-01-vm-10 ~]# 
[root@ibm-x3650m4-01-vm-10 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.26.22-1.el8_2
[root@ibm-x3650m4-01-vm-10 ~]# 
[root@ibm-x3650m4-01-vm-10 ~]# rpm -qa --changelog subscription-manager | grep 2175879
- 2175879: Fix getting releases, when SCA is used (jhnidek)
[root@ibm-x3650m4-01-vm-10 ~]#
[root@ibm-x3650m4-01-vm-10 ~]# 
[root@ibm-x3650m4-01-vm-10 ~]# subscription-manager register --username ****** --password ***** 
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: 6eff42d0-4728-4e7d-9973-7783baf7f272
The registered system name is: ibm-x3650m4-01-vm-10.ibm2.lab.eng.bos.redhat.com
[root@ibm-x3650m4-01-vm-10 ~]# 
[root@ibm-x3650m4-01-vm-10 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.

System Purpose Status: Disabled

[root@ibm-x3650m4-01-vm-10 ~]# ll /etc/pki/entitlement/
total 80
-rw-r--r--. 1 root root  3272 Mar 22 06:08 5097948962661378636-key.pem
-rw-r--r--. 1 root root 74103 Mar 22 06:08 5097948962661378636.pem
[root@ibm-x3650m4-01-vm-10 ~]# 
[root@ibm-x3650m4-01-vm-10 ~]# subscription-manager release  --list
+-------------------------------------------+
          Available Releases
+-------------------------------------------+
8
8.0
8.1
8.2
8.3
8.4
8.5
8.6
8.7
[root@ibm-x3650m4-01-vm-10 ~]#
 

Verification: Successfully verified that release can be listed in SCA mode without attaching pools

Comment 8 errata-xmlrpc 2023-04-18 17:27:38 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-2023:1846