Hide Forgot
Description of problem: If you subscribe to a multi-entitlement product with a start date in the future (you have no valid entitlements for right now), launching the subscription assistant your product will show up, but the quantity selector is set to 0. Version-Release number of selected component (if applicable): subscription-manager-0.97.1-1.git.87.ab33cf8.fc15.x86_64 How reproducible: Very. Steps to Reproduce: 1. Setup an installed product cert in /etc/pki/product, for our test data: 100000000000002.pem 2. Register and go to All Subscriptions tab. Search for today plus one year and a day. 3. Bind with quantity 2. 4. Now open Subscription Assistant with today's date. Actual results: Our installed product correctly shows up as needing an entitlement, but if we select it, the quantity spinner by the subscription below is set to 0 by default. Expected results: It should be set to 2 (depending on cpu cores). Additional info: This likely indicates the code that calculates the quantity is not date aware, it's just checking all entitlement certs and assuming they're all valid for the date in question. When fixing we need to make sure the quantity check code can work for dates in the future. Both subscription assistant and all subs tab allow you to search for a specific date, and then show you a quantity spinner.
Fixed in master branch: 5cb0d1317b34196c1fb34ab96b40b6eaa11d22ee
Created attachment 547912 [details] future quantity I tested this with 4 sockets: - Subscribe to future entitlement with quantity of 4 - Open subscription assistant The quantity shows the right number needed for current compliance. subscription-manager-gnome-0.98.8-1.git.10.9010475.el5_7 subscription-manager-0.98.8-1.git.10.9010475.el5_7 python-rhsm-0.99.1-1.git.1.20cbd9e.el5_7 Marking VERIFIED.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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-2012-0154.html