Bug 1007580
| Summary: | RFE: list-available output should include contract number | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Amanda Carter <acarter> | |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.1 | CC: | bkearney, ckozak, fsharath, hhudgeon | |
| Target Milestone: | rc | Keywords: | FutureFeature | |
| Target Release: | 7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Enhancement | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1088507 (view as bug list) | Environment: | ||
| Last Closed: | 2014-06-13 10:47:42 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: | 863175, 1088507 | |||
|
Comment 2
Bryan Kearney
2013-10-11 14:31:00 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
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
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
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. |