Bug 867603

Summary: [RFE] Add Quantity to Confirm Subscription(s) Dialog
Product: Red Hat Enterprise Linux 5 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: Alex Wood <awood>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: awood, bkearney, fsharath, jgalipea, jsefler
Target Milestone: betaKeywords: FutureFeature
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8.2 Doc Type: Release Note
Doc Text:
Subscription Manager now displays the number of subscriptions a user is attaching to a specific machine in the System Registration dialog.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 13:48:12 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: 840995, 871581, 920191    
Attachments:
Description Flags
Quantity displayed
none
shows quantity when attaching products none

Description Matt Reid 2012-10-17 20:14:51 UTC
Description of problem:
While right now it isn't too worrisome, when we start having customers take advantage of stacking, they should be able to see how many of a subscription they are about to subscribe to when running through auto-subscribe. Right now it doesn't look any different if I'm about to subscribe to 1 or 4.

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

How reproducible:
Current design doesn't account for quantity, 100%

Steps to Reproduce:
1. Alter sockets reported by facts
2. Register System to stacking-stage 
3. Auto-subscribe, you get 4 (1 - 2 sockets) subscriptions, but you wouldn't know that from our dialogs
  
Actual results:
Could just be 1 subscription

Expected results:
Say how many will be consumed if they continue

Comment 1 Matt Reid 2012-10-17 20:15:58 UTC
Created attachment 629058 [details]
Quantity displayed

Mockup of how it could look

Comment 2 Alex Wood 2012-12-20 16:31:03 UTC
You can alter the sockets fact by overriding it with 

$ echo '{"cpu.cpu_socket(s)":"8"}' > /etc/rhsm/facts/sockets.facts

Comment 3 Alex Wood 2012-12-20 19:20:07 UTC
commit 0cc3104ea2fb4f279aef1a8c6508cd0d0273637d
Author: Alex Wood <awood>
Date:   Thu Dec 20 11:52:13 2012 -0500

    867603: Add quantity to confirm subscriptions dialog.

Comment 4 Bryan Kearney 2013-02-08 17:18:13 UTC
Fixed in the 1.8.2 version of subscription-manager or python-rhsm

Comment 5 Sharath Dwaral 2013-04-30 21:01:49 UTC
Created attachment 741995 [details]
shows quantity when attaching products

# rpm -qa | egrep "subscription-manager|python-rhsm"
python-rhsm-1.8.9-1.git.7.214419e.el5
subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5
subscription-manager-gui-1.8.6-1.git.7.96019b0.el5
subscription-manager-firstboot-1.8.6-1.git.7.96019b0.el5
subscription-manager-migration-1.8.6-1.git.7.96019b0.el5
subscription-manager-1.8.6-1.git.7.96019b0.el5

Please see attachment

VERIFIED