Bug 986971

Summary: String Update: 'Available Subscriptions' > 'Available' in All Available Subscriptions Table & CLI tweak
Product: Red Hat Enterprise Linux 6 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: bkearney, fsharath, jesusr, jgalipea, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Change 'Available Subscriptions' to just 'Available'. Reason: This saves space and is more clear to the user. Result (if any):
Story Points: ---
Clone Of: 963874 Environment:
Last Closed: 2013-11-21 21:26:45 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: 963874    
Bug Blocks: 862910    

Description Matt Reid 2013-07-22 14:12:01 UTC
+++ This bug was initially created as a clone of Bug #963874 +++

The CLI portion of this BZ didn't make it into the 5.10 release.

Description of problem:
We can save some table width and potential horizontal scrolling if we drop the redundant 'Subscriptions' from 'Available Subscriptions' in our Subscriptions table on the My Available Subscriptions tab. We already have a Subscription header for the Subscriptions themselves, we probably don't need to specify again that these are Subscriptions we're talking about.

Drop 'Subscriptions' from:
#: ../src/subscription_manager/gui/allsubs.py:84
#: ../src/subscription_manager/managercli.py:2058
msgid "Available Subscriptions"

I'm not sure where we use that in the CLI, my guess was 'list --available', but it says 'Quantity:' there. Anyone know where that shows in the CLI?

Speaking of which, within Subscription Manager, I'd like to see us reserve Quantity to talk about how many subscriptions will or have been attached, rather than how many are available. Could we change 'Quantity:' in the CLI output of 'list --available' to say 'Available:' and match the above change in the GUI?

#: ../src/subscription_manager/managercli.py:89
msgid "Quantity:"

Version-Release number of selected component (if applicable):
subscription-manager 1.8.7-1.git

More Info:

I'm not as concerned about us showing Quantity/Quantity Used in rct at this point, since I think they're referring to slightly different numbers. In Subscription Manager, we're cutting out what's been used and just showing the quantity that are available, whereas in cat-cert we show total quantity (at least on my employee sub cert I have a quantity of 10000), and how many were used (1).

--- Additional comment from RHEL Product and Program Management on 2013-05-16 13:29:41 EDT ---

This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

--- Additional comment from RHEL Product and Program Management on 2013-05-16 13:31:46 EDT ---

This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

--- Additional comment from Cory Scheviak on 2013-06-13 08:44:20 EDT ---

bc35701aed77d9da06689d7c350342812924b016

subscription-manager.git

--- Additional comment from Sharath Dwaral on 2013-07-19 13:38:06 EDT ---

Version:

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-debuginfo-1.8.13-1.el5
subscription-manager-gui-1.8.13-1.el5
subscription-manager-firstboot-1.8.13-1.el5
python-rhsm-1.8.13-1.el5
subscription-manager-migration-1.8.13-1.el5
subscription-manager-1.8.13-1.el5

Verification:

This bug is partially fixed

String Change from "Available Subscription" -> "Available"  (See Attachment)

>>  But the second change suggested from 
>>  "Quantity:" -> "Available:"  on CLI is incomplete

Marking VERIFIED as String changes will not be incorporated to 5.10 any longer.

--- Additional comment from Sharath Dwaral on 2013-07-19 13:39:14 EDT ---

# subscription-manager list --available 
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Multi-Attribute (multi-entitlement only) (8 cores, 4GB)
SKU:               non-stacked-8core4ram-multiattr
Pool ID:           8a90f8333feace49013feacfbf1d03ea
Quantity:          5       <<<<<<<<<<<<<<<<<<
Service Level:     Premium
Service Type:      Level 3
Multi-Entitlement: Yes
Ends:              07/16/2014
System Type:       Physical

No change on CLI

Marking Verified

Comment 2 Cory Scheviak 2013-08-06 14:33:04 UTC
08e432f0ad673689de852aa77d326f89f1785988

subscription-manager.git

Comment 3 John Sefler 2013-08-30 14:06:48 UTC
Verifying Version...

[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.9.5-1.el6.x86_64
[root@jsefler-6 ~]# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Multi-Attribute (multi-entitlement only) (8 cores, 4GB)
SKU:               non-stacked-8core4ram-multiattr
Pool ID:           8a9086d340cbe3ac0140cbe54cc80979
Available:         5
Service Level:     Premium
Service Type:      Level 3
Multi-Entitlement: Yes
Ends:              08/28/2014
System Type:       Physical


VERIFIED: The former Quantity label has been changed to an Available label.

Comment 4 Bryan Kearney 2013-09-03 18:20:55 UTC
This is available in 1.9.2

Comment 5 Sharath Dwaral 2013-09-05 20:30:29 UTC
version:

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch
python-rhsm-1.9.4-1.el6.x86_64
subscription-manager-firstboot-1.9.5-1.el6.x86_64
subscription-manager-gui-1.9.5-1.el6.x86_64
subscription-manager-migration-1.9.5-1.el6.x86_64
python-rhsm-debuginfo-1.9.4-1.el6.x86_64
subscription-manager-1.9.5-1.el6.x86_64

Verification:
# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Multi-Attribute (non-stackable) (6 cores, 8GB)
SKU:               non-stacked-6core8ram-multiattr
Pool ID:           8a90860640eecce10140eece4f2d03ef
Available:         10
Service Level:     Super
Service Type:      Level 3
Multi-Entitlement: No
Ends:              09/04/2014
System Type:       Physical


VERIFIED

Comment 6 errata-xmlrpc 2013-11-21 21:26:45 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.

http://rhn.redhat.com/errata/RHBA-2013-1659.html