Bug 1023568 - [RFE] bind requests using activation keys that do not specify a quantity should automatically use the quantity needed to achieve compliance
Summary: [RFE] bind requests using activation keys that do not specify a quantity shou...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-10-25 19:02 UTC by John Sefler
Modified: 2015-05-14 14:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-29 19:05:12 UTC
Embargoed:


Attachments (Terms of Use)

Description John Sefler 2013-10-25 19:02:22 UTC
Description of problem:
To complement bug 1008647 activation keys that are made without specifying an exact subscription quantity should no longer assume a quantity of 1.  Instead candlepin  should attach the necessary amount to achieve compliance for the installed products the key's subscription provides. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Carter Kozak 2013-10-25 19:04:42 UTC
commit a121556d1039400c483d8414fcdb1f5374f31df6
Author: ckozak <ckozak>
Date:   Wed Oct 23 15:00:53 2013 -0400

    ActKeys can take null quantity, pick quantity upon activation

Comment 2 John Sefler 2014-01-27 19:19:08 UTC
Automated test coverage for this case has been implemented in QE class ActivationKeyTests methods:

RegisterWithActivationKeyContainingPool_Test(...)
RegisterWithActivationKeyContainingPoolWithQuantity_Test(...)

Above tests are passing against version...
[root@jsefler-7 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1            <================
subscription-manager: 1.10.11-1.git.11.509d491.el7
python-rhsm: 1.10.11-1.git.0.17362f9.el7

Moving to VERIFIED

Comment 4 Bryan Kearney 2014-09-29 19:05:12 UTC
These bugs were fixed during 7.0 but not moved to CLOSED. They have been delivered


Note You need to log in before you can comment on or make changes to this bug.