Bug 1924338
| Summary: | Content host connected to the SCA enabled Satellite is showing as Not subscribed after attaching a valid subscription | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Dhaval Joshi <dhjoshi> | |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.3 | CC: | aganbat, ahumbe, jhnidek, jsefler, redakkan, rjerrido, zpetrace | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | 8.6 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.28.24-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2022789 (view as bug list) | Environment: | ||
| Last Closed: | 2022-05-10 15:22:56 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2022789 | |||
|
Description
Dhaval Joshi
2021-02-02 22:50:27 UTC
It seems that the latest subscription-manager package is not installed on the client, can you please reconfirm? Also, here we are using SCA so we do not need to assign the subscription to the client systems manually. Does 'subscription-manager identity' show that SCA is enabled? Is the client able to consume the content? 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 (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. *** Bug 1951830 has been marked as a duplicate of this bug. *** 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 )
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
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 |