Bug 1737894
| Summary: | [RFE] subscription-manager list --available and --consumed should report new roles and usage | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.8 | CC: | bcourt, cdonnell, csnyder, jhnidek, jsefler, khowell, ktordeur, redakkan, rhsm-qe, rjerrido |
| Target Milestone: | rc | Keywords: | FutureFeature, PrioBumpQA, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.24.14-1.el7 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1665167 | Environment: | |
| Last Closed: | 2020-03-31 19:40:52 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: | 1665167 | ||
| Bug Blocks: | |||
|
Comment 2
John Sefler
2019-08-09 19:13:46 UTC
Verification:
Role and usage values in list --available
[root@hpe-dl360gen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.17-1.el7
[root@hpe-dl360gen8-01 ~]# subscription-manager list --avail
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
Provides: dotNET on RHEL Beta (for RHEL Server)
Red Hat CodeReady Linux Builder for x86_64
Red Hat Ansible Engine
Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
Red Hat Container Images Beta
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Container Images
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Beta
Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
dotNET on RHEL (for RHEL Server)
Oracle Java (for RHEL Server)
Red Hat Software Collections (for RHEL Server)
Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Atomic Host
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Developer Tools (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Developer Tools Beta (for RHEL Server)
Red Hat Enterprise Linux for x86_64
Red Hat Developer Toolset (for RHEL Server)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
SKU: RH00003
Contract: 11877699
Pool ID: 8a99f9ad6b091a4a016b0e54d1510441
Provides Management: No
Available: 200
Suggested: 2
Service Type: L1-L3
Roles: Red Hat Enterprise Linux Server --------------------> role value
Service Level: Premium
Usage: Production --------------------> Usage value
Add-ons:
Subscription Type: Instance Based
Starts: 05/31/2019
Ends: 05/30/2020
System Type: Physical
Subscription Name: Red Hat Enterprise Linux for Mainframe, Standard
Provides: Red Hat Beta
Red Hat Hardware Certification Test Suite
Red Hat Developer Tools Beta (for RHEL Server for System Z)
Red Hat Developer Tools (for RHEL Server for System Z)
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for IBM z Systems
SKU: MCT0343
Contract: 11877702
Pool ID: 8a99f9a66b091636016b0e68da8f1f13
Provides Management: No
Available: 100
Suggested: 1
Service Type: L1-L3
Roles:
Service Level: Standard
Usage:
Add-ons:
Subscription Type: Standard
Starts: 05/31/2019
Ends: 05/30/2020
System Type: Physical
Subscription Name: Red Hat Enterprise Linux Server (Disaster Recovery), Standard (Physical or Virtual Nodes)
Provides: dotNET on RHEL Beta (for RHEL Server)
Oracle Java (for RHEL Server)
Red Hat Software Collections (for RHEL Server)
Red Hat CodeReady Linux Builder for x86_64
Red Hat Ansible Engine
Red Hat Container Images Beta
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Enterprise Linux Atomic Host
Red Hat Container Images
Red Hat Developer Tools (for RHEL Server)
Red Hat Beta
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Developer Tools Beta (for RHEL Server)
Red Hat Enterprise Linux for x86_64
Red Hat Developer Toolset (for RHEL Server)
dotNET on RHEL (for RHEL Server)
SKU: RH00014
Contract: 11877698
Pool ID: 8a99f9ad6b091a4a016b0e54d58b044b
Provides Management: No
Available: 200
Suggested: 2
Service Type: L1-L3
Roles: Red Hat Enterprise Linux Server
Service Level: Standard
Usage: Disaster Recovery
Add-ons:
Subscription Type: Instance Based
Starts: 05/31/2019
Ends: 05/30/2020
System Type: Physical
Role and usage values in list --consumed
[root@hpe-dl360gen8-01 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Satellite Infrastructure Subscription
Provides: Red Hat Beta
Red Hat CodeReady Linux Builder for x86_64
Red Hat Satellite
Red Hat Satellite with Embedded Oracle
Red Hat Satellite 5 Managed DB
Red Hat Satellite Proxy
Red Hat Software Collections (for RHEL Server)
Red Hat Satellite Capsule
Red Hat Enterprise Linux for x86_64
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux High Availability for x86_64
Red Hat Ansible Engine
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Enterprise Linux Server
SKU: MCT3718
Contract:
Account: 6209658
Serial: 2977020324527175567
Pool ID: 8a99f9a66b091636016b0e68f0d81f3f
Provides Management: Yes
Active: True
Quantity Used: 1
Service Type: L1-L3
Roles:
Service Level: Premium
Usage:
Add-ons:
Status Details: Subscription is current
Subscription Type: Standard
Starts: 05/31/2019
Ends: 05/30/2020
System Type: Physical
Subscription Name: Red Hat Enterprise Linux Server (Disaster Recovery), Standard (Physical or Virtual Nodes)
Provides: Red Hat Beta
Red Hat Enterprise Linux Atomic Host
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux Atomic Host Beta
Oracle Java (for RHEL Server)
Red Hat Developer Tools (for RHEL Server)
Red Hat Container Images
Red Hat Container Images Beta
Red Hat Developer Tools Beta (for RHEL Server)
Red Hat Developer Toolset (for RHEL Server)
Red Hat Software Collections (for RHEL Server)
Red Hat Enterprise Linux for x86_64
Red Hat Software Collections Beta (for RHEL Server)
dotNET on RHEL (for RHEL Server)
dotNET on RHEL Beta (for RHEL Server)
Red Hat Ansible Engine
Red Hat Enterprise Linux Server
SKU: RH00014
Contract: 11877698
Account: 6209658
Serial: 5323950229389606464
Pool ID: 8a99f9ad6b091a4a016b0e54d58b044b
Provides Management: No
Active: True
Quantity Used: 2
Service Type: L1-L3
Roles: Red Hat Enterprise Linux Server ------------------> Role value
Service Level: Standard
Usage: Disaster Recovery ------------------> Usage value
Add-ons:
Status Details: Subscription is current
Subscription Type: Instance Based
Starts: 05/31/2019
Ends: 05/30/2020
System Type: Physical
Addon values in list --avail against testdata:
[root@hpe-dl360gen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.8.0-1
subscription management rules: 5.37
subscription-manager: 1.24.17-1.el7
[root@hpe-dl360gen8-01 ~]# subscription-manager list --available --all | grep "ADDON"
Subscription Name: SP Addon 2 (A: ADDON2)
Add-ons: ADDON2
Subscription Name: SP Addon 3 (S: Premium, R: SP Server,SP Starter, A: ADDON3)
Add-ons: ADDON3
Subscription Name: SP Addon 3 (S: Premium, R: SP Server,SP Starter, A: ADDON3)
Add-ons: ADDON3
Subscription Name: SP Smart Management (A: ADDON1)
Add-ons: ADDON1
Subscription Name: SP Smart Management (A: ADDON1)
Add-ons: ADDON1
Subscription Name: SP Addon 2 (A: ADDON2)
Add-ons: ADDON2
addon values in list --consumed against test data
[root@hpe-dl360gen8-01 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: SP Addon 2 (A: ADDON2)
Provides: SP Addon 2 bits
SKU: sp-with-addon-2
Contract: 1
Account: 12331131231
Serial: 5466311473603509713
Pool ID: 8ac6a3a96c6614cf016c6615eadb04b4
Provides Management: Yes
Active: True
Quantity Used: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons: ADDON2
Status Details: Subscription is current
Subscription Type: Standard
Starts: 08/05/2019
Ends: 08/04/2020
System Type: Physical
Subscription Name: SP Smart Management (A: ADDON1)
Provides: SP Addon 1 bits
SKU: sp-with-addon-1
Contract: 1
Account: 12331131231
Serial: 2108672526354769628
Pool ID: 8ac6a3a96c6614cf016c6615ea7304a9
Provides Management: Yes
Active: True
Quantity Used: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons: ADDON1
Status Details: Subscription is current
Subscription Type: Standard
Starts: 08/05/2019
Ends: 08/04/2020
System Type: Physical
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, 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-2020:1028 |