Bug 1011961
Summary: | rct cat-cert should display "Unlimited" for Quantity instead of "-1" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rehana <redakkan> |
Component: | subscription-manager | Assignee: | Carter Kozak <ckozak> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | bkearney, ckozak, jesusr |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature:
Display Unlimited instead of a -1 for quantity.
Reason:
The user would be shown a -1 when an entitlement had a quantity of unlimited, this was confusing to the user.
Result (if any):
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-21 21:30:23 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: | 862910 |
Description
Rehana
2013-09-25 12:56:22 UTC
commit 7554c869608a0276151993d34fee4ddb54185f7a Author: ckozak <ckozak> Date: Wed Sep 25 09:56:52 2013 -0400 1011961: -1 quantity is printed as unlimited Verifying Version.... [root@jsefler-6 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.28-1 subscription-manager: 1.9.8-1.el6 python-rhsm: 1.9.6-1.el6 [root@jsefler-6 ~]# subscription-manager list --available | grep Unlimited -B4 Subscription Name: Awesome OS with unlimited virtual guests Provides: Awesome OS Server Bits SKU: awesomeos-virt-unlimited Pool ID: 8a9087404175311a01417531e17d0aca Available: Unlimited -- Subscription Name: Awesome OS with unlimited virtual guests Provides: Awesome OS Server Bits SKU: awesomeos-virt-unlimited Pool ID: 8a9087404175311a01417531e2430b2c Available: Unlimited [root@jsefler-6 ~]# subscription-manager attach --pool 8a9087404175311a01417531e17d0aca --pool 8a9087404175311a01417531e2430b2c Successfully attached a subscription for: Awesome OS with unlimited virtual guests Successfully attached a subscription for: Awesome OS with unlimited virtual guests [root@jsefler-6 ~]# ls /etc/pki/entitlement/*.pem | grep -v key /etc/pki/entitlement/1726391033151455130.pem /etc/pki/entitlement/3560040616902373949.pem [root@jsefler-6 ~]# rct cat-cert /etc/pki/entitlement/1726391033151455130.pem | grep Order: -A18 Order: Name: Awesome OS with unlimited virtual guests Number: order-8675309 SKU: awesomeos-virt-unlimited Contract: 0 Account: 12331131231 Service Level: Service Type: Quantity: Unlimited <============= VERIFIED Quantity Used: 1 Socket Limit: RAM Limit: Core Limit: Virt Only: True Subscription: Stacking ID: Warning Period: 0 Provides Management: False [root@jsefler-6 ~]# rct cat-cert /etc/pki/entitlement/3560040616902373949.pem | grep Order: -A18 Order: Name: Awesome OS with unlimited virtual guests Number: order-8675309 SKU: awesomeos-virt-unlimited Contract: 1 Account: 12331131231 Service Level: Service Type: Quantity: Unlimited <============= VERIFIED Quantity Used: 1 Socket Limit: RAM Limit: Core Limit: Virt Only: True Subscription: Stacking ID: Warning Period: 0 Provides Management: False [root@jsefler-6 ~]# VERIFIED: rct cat-cert tool now reports the Order quantity from an entitlement granted from a pool with unlimited quantity as "Unlimited" instead of "-1". 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. http://rhn.redhat.com/errata/RHBA-2013-1659.html |