Bug 1935592
| Summary: | Simple Content Access to Portal, EUS not working without manually attaching sub [rhel-7.9.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Rehana <redakkan> |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.9 | CC: | cdonnell, jhnidek, jreznik, redakkan, rhsm-qe, rjerrido, skallesh, tquinlan |
| Target Milestone: | rc | Keywords: | Triaged, ZStream |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1924921 | Environment: | |
| Last Closed: | 2021-04-27 11:35:33 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: | |||
|
Description
Rehana
2021-03-05 08:45:04 UTC
We would like to ship this fix in 7.9z as well. Justifications are same as https://bugzilla.redhat.com/show_bug.cgi?id=1924921#c4 ( provided for RHEL 8) Pre-verification comments:
[root@kvm-03-guest10 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.11-1
subscription management rules: 5.41
subscription-manager: 1.24.46-1.el7_9
[root@kvm-03-guest10 ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: *********
Password:
The system has been registered with ID: bb9b3a6a-b983-49b1-9e46-8eebc97f7f14
The registered system name is: kvm-03-guest10.lab.eng.rdu2.redhat.com
[root@kvm-03-guest10 ~]# 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@kvm-03-guest10 ~]# ls /etc/pki/entitlement/
4918109337276806063-key.pem 4918109337276806063.pem
[root@kvm-03-guest10 ~]# rct cc /etc/pki/entitlement/4918109337276806063.pem --no-content
+-------------------------------------------+
Entitlement Certificate
+-------------------------------------------+
Certificate:
Path: /etc/pki/entitlement/4918109337276806063.pem
Version: 3.4
Serial: 4918109337276806063
Start Date: 2021-03-26 09:41:48+00:00
End Date: 2022-03-26 09:41:48+00:00
Pool ID: Not Available
Subject:
CN: bb9b3a6a-b983-49b1-9e46-8eebc97f7f14
O: 6340056
Issuer:
C: US
CN: Red Hat Candlepin Authority
O: Red Hat, Inc.
OU: Red Hat Network
ST: North Carolina
emailAddress: ca-support
Product:
ID: content_access
Name: Content Access
Version:
Arch:
Tags:
Brand Type:
Brand Name:
Order:
Name: Content Access
Number:
SKU: content_access
Contract:
Account:
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Quantity:
Quantity Used: 1
Socket Limit:
RAM Limit:
Core Limit:
Virt Only: False
Stacking ID:
Warning Period: 0
Provides Management: False
Authorized Content URLs:
/sca/6340056
[root@kvm-03-guest10 ~]# subscription-manager release --list
+-------------------------------------------+
Available Releases
+-------------------------------------------+
7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7Server
^^ release --list is getting listed now
Reproducer: [root@intel-piketon-01 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 3.2.15-1 subscription management rules: 5.41 subscription-manager: 1.24.45-1.el7_9 [root@intel-piketon-01 ~]# rpm -q --changelog subscription-manager | grep 1935592 [root@intel-piketon-01 ~]# subscription-manager register --username ****** Registering to: subscription.rhsm.redhat.com:443/subscription Password: The system has been registered with ID: b91aa4e2-e8f4-4e12-a734-becf2e6d8dc0 The registered system name is: intel-piketon-01.khw1.lab.eng.bos.redhat.com [root@intel-piketon-01 ~]# 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@intel-piketon-01 ~]# subscription-manager release --list No release versions available, please check subscriptions. verification:
[root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.15-1
subscription management rules: 5.41
subscription-manager: 1.24.46-1.el7_9
[root@hpe-dl380pgen8-02-vm-1 ~]# rpm -q --changelog subscription-manager | grep 1935592
- 1935592: Fix getting releases, when SCA is used (jhnidek)
[root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager register --username skallesh
Registering to: subscription.rhsm.redhat.com:443/subscription
Password:
The system has been registered with ID: 7c06915a-93d7-4c20-935b-67345af68948
The registered system name is: hpe-dl380pgen8-02-vm-1.hpe2.lab.eng.bos.redhat.com
[root@hpe-dl380pgen8-02-vm-1 ~]# 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@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager release --list
+-------------------------------------------+
Available Releases
+-------------------------------------------+
7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7Server
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-2021:1394 |