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 1007580 - RFE: list-available output should include contract number
Summary: RFE: list-available output should include contract number
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.0
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70 1088507
TreeView+ depends on / blocked
 
Reported: 2013-09-12 19:49 UTC by Amanda Carter
Modified: 2014-06-18 00:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1088507 (view as bug list)
Environment:
Last Closed: 2014-06-13 10:47:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 3 John Sefler 2013-11-05 23:49:25 UTC
Testing Version...

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.10.5-1.el7
python-rhsm: 1.10.5-1.el7


# subscription-manager register
Username: stage_testuser1
Password: 
The system has been registered with ID: a4ddacd7-f602-4477-b8d7-2016b52d3ee6 

# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server Beta
Provides:          Red Hat Enterprise Linux 7 Public Beta
SKU:               RH00069
Contract:          None   <========== NEW FIELD VERIFIED, BUT FailedQA
Pool ID:           8a99f983422903e40142294e223e0702
Available:         20
Suggested:         1
Service Level:     Self-Support
Service Type:      L1-L3
Multi-Entitlement: Yes
Ends:              12/30/2013
System Type:       Physical


As verified above, the Contract field is now included in the list --available.  However, if the value is null, then the report should show a blank value (not None). This will provided consistency with similar bug 1021581 - list --consumed should report "" (not None) when there is no Contract number.

Moving back to ASSIGNED

Comment 6 Bryan Kearney 2014-01-21 15:56:52 UTC
commit dbbb0b19809388e16ec8b8433c0698b306a9bf63
Author: Bryan Kearney <bkearney>
Date:   Fri Jan 17 09:27:19 2014 -0500

    1007580: Print blank spaces if there is no contract number on the list command

Comment 8 Sharath Dwaral 2014-01-23 22:01:16 UTC
Version:
# subscription-manager version 
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1
subscription-manager: 1.10.11-1.el7
python-rhsm: 1.10.11-1.el7

Verification:

# subscription-manager list --available 

+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Awesome OS for All Arch (just x86_64 content)
Provides:          Awesome OS for All Arch (just x86_64 content) Bits
SKU:               awesomeos-all-just-86_64-cont
Contract:          0    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Pool ID:           8a8d01e043bfdf710143bfdff03f0886
Available:         5
Suggested:         2
Service Level:     
Service Type:      
Subscription Type: Stackable
Ends:              01/22/2015
System Type:       Physical


Subscription Name: Management Add-On
Provides:          
SKU:               management-100
Contract:          1   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Pool ID:           8a8d01e043bfdf710143bfdff27a0ae4
Available:         1000
Suggested:         1
Service Level:     
Service Type:      
Subscription Type: Standard
Ends:              01/22/2015
System Type:       Physical

...........
...........
...........
...........
...........


The contract number is populated appropriately

VERIFIED

Comment 9 Ludek Smid 2014-06-13 10:47:42 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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