Bug 753229

Summary: subscription manifest - bonus virtual pools are not being consumed by consuming a physical pool
Product: [Community] Candlepin Reporter: blittle
Component: candlepinAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.5CC: acarter, sshevach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 15:10:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description blittle 2011-11-11 16:30:38 UTC
Description of problem:
bonus virtual pools are not being consumed by consuming a physical pool

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


How reproducible:


Steps to Reproduce:
user - dev2_test_4
pw- redhat

1. Login to https://rails-fte.gss.devlab.phx1.redhat.com/management/distributors/
2. Two sets of subscriptions exist physical and virtual with matching contract numbers.
3.  When I add 1 physical subscription to the distributor 1 virtual subscription is subtracted.
  
Actual results:
Only 1 virtual subscription is subtracted.

Expected results:
What we expect to happen is that all 'bonus virt pools' for a physical subscription should be consumed by virtue of consuming the physical.

Ex:

On an account with a physical subscription that gives you 4 virt, say you have qty 10 of that subscription giving you 10 physical, 40 virt
If you bound 1 physical to a manifest you should end up with 9 physical, 36 virt remaining



Additional info:

Comment 1 William Poteat 2011-11-14 15:59:25 UTC
An update to > 0.4.25 will be needed.

Most likely available on 11-15-11.