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 1737894 - [RFE] subscription-manager list --available and --consumed should report new roles and usage
Summary: [RFE] subscription-manager list --available and --consumed should report new ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.8
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 1665167
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-06 11:03 UTC by Shwetha Kallesh
Modified: 2020-03-31 19:41 UTC (History)
10 users (show)

Fixed In Version: subscription-manager-1.24.14-1.el7
Doc Type: Enhancement
Doc Text:
Clone Of: 1665167
Environment:
Last Closed: 2020-03-31 19:40:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1028 0 None None None 2020-03-31 19:41:26 UTC

Comment 2 John Sefler 2019-08-09 19:13:46 UTC
Take

Comment 6 Shwetha Kallesh 2019-09-11 07:01:00 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

Comment 8 errata-xmlrpc 2020-03-31 19:40:52 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, 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


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