Bug 1021581
Summary: | list --consumed should report "" (not None) when there is no Contract or Account number | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Carter Kozak <ckozak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acarter, bkearney, ckozak, fsharath, mstead |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 11:22:38 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, 1014343 |
Description
John Sefler
2013-10-21 14:52:56 UTC
When I list available, I'm seeing Contract show up as None. [mstead@boogady subscription-manager]$ sudo subscription-manager list --avail +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: RH0103708 Contract: None <===== RIGHT HERE Pool ID: 8a99f98441c647900141d92a36b3020f Available: 998 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/31/2013 System Type: Physical In the example in the description, it doesn't appear at all. NOTE: I've verified that this is not due to this patch. Sorry, by "I've verified that this is not due to this patch." I mean, not due to patch submitted to fix this issue. commit 4454d568b3fc8f0267b4027788021eca8b02ca35 Author: ckozak <ckozak> Date: Mon Oct 21 10:56:40 2013 -0400 1021581: account/contract display nothing when no data exists Verifying with continuous integration build... [root@jsefler-7 ~]# rpm -q subscription-manager subscription-manager-1.10.4-1.git.5.4454d56.el7.x86_64 [root@jsefler-7 ~]# subscription-manager register --serverurl=subscription.rhn.stage.redhat.com:443/subscription Username: stage_test_12 Password: The system has been registered with ID: f5846ca6-01de-4ffc-9015-9428dfd9e4b5 [root@jsefler-7 ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: RH0103708 Contract: None Pool ID: 8a99f98441c647900141d92a37d40222 Available: 3998 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/31/2013 System Type: Virtual Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: RH0103708 Contract: None Pool ID: 8a99f98441c647900141d92a36b3020f Available: 997 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/31/2013 System Type: Physical [root@jsefler-7 ~]# subscription-manager attach --pool 8a99f98441c647900141d92a37d40222 Successfully attached a subscription for: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) [root@jsefler-7 ~]# rct cat-cert --no-content /etc/pki/entitlement/1486885631087957531.pem | egrep ^Order: -A20 Order: Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Number: SKU: RH0103708 Contract: Account: Service Level: PREMIUM Service Type: L1-L3 Quantity: 4000 Quantity Used: 1 Socket Limit: 8 RAM Limit: Core Limit: Virt Only: True Subscription: Stacking ID: Warning Period: 0 Provides Management: False [root@jsefler-7 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Beta SKU: RH0103708 Contract: <============ VERIFIED Account: <============ VERIFIED Serial: 1486885631087957531 Pool ID: 8a99f98441c647900141d92a37d40222 Active: True Quantity Used: 1 Service Level: PREMIUM Service Type: L1-L3 Status Details: Starts: 12/31/2012 Ends: 12/31/2013 System Type: Virtual [root@jsefler-7 ~]# 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 ---------------------------> CHECK 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 Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: None ------------------------> CHECK Pool ID: 8a99f983422903e40142294e22e00750 Available: 20 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2013 System Type: Physical Subscription Name: Red Hat Enterprise Linux Workstation Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00074 Contract: None ------------------------------> CHECK Pool ID: 8a99f983422903e40142294e23350765 Available: 20 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2013 System Type: Physical # rct cat-cert --no-content /etc/pki/entitlement/5128962057381115227.pem | egrep ^Order: -A20 Order: Name: Red Hat Enterprise Linux for Virtual Datacenters, Premium Number: SKU: RH00001 Contract: ---------------------> NOTHING Account: ---------------------> NOTHING Service Level: Premium Service Type: L1-L3 Quantity: 10 Quantity Used: 1 Socket Limit: 2 RAM Limit: Core Limit: Virt Only: False Subscription: Stacking ID: RH00001 Warning Period: 0 Provides Management: False # subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Premium Provides: SKU: RH00001 Contract: ---------------------------------> VERIFIED Account: ---------------------------------> VERIFIED Serial: 5128962057381115227 Pool ID: 8a99f983422903e40142294e23bb078b Active: True Quantity Used: 1 Service Level: Premium Service Type: L1-L3 Status Details: Only covers 2 of 20 sockets. Starts: 12/31/2012 Ends: 12/30/2013 System Type: Physical 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. |