Bug 745965

Summary: Certificate Status in GUI is incorrect for future entitlements
Product: Red Hat Enterprise Linux 5 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8CC: bkearney, cduryee, dgoodwin
Target Milestone: rc   
Target Release: 5.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-29 19:05:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 715031    

Description J.C. Molet 2011-10-13 14:23:03 UTC
Description of problem:
If you partially subscribe to a future entitlement (only), the certificate status shows that you are partially subscribed - even though at present you are not subscribed to anything valid.


Version-Release number of selected component (if applicable):
subscription-manager-gnome-0.96.14-1.git.0.51fc69c.el6.x86_64

How reproducible:
Always?

Steps to Reproduce:
1. Have a single product associated with a stackable subscription (I used 100000000000002.pem in the candlepin TESTDATA)
2. Make sure you have enough sockets so that you need multiple subscriptions to satisfy the product.
3. Register your rhsm
4. partially subscribe to a future subscription (that is: add a year+ to your search filter and only subscribe with quantity=1)
  
Actual results:
Your certificate status changes to a yellow icon and the text in the certificate status area suggests you are partially subscribed.  

Expected results:
The certificate status area matches what the product area in the my installed software tab suggests, your certificate status would still be red.

Comment 2 Devan Goodwin 2011-11-09 17:49:48 UTC
Fixed via recent stacking work. Probably from f70e59b81c7bf29a2408cd6ca4df2461770f43b1 in subscription-manager.git.

Will appear in: subscription-manager-0.98.3-1

Comment 3 J.C. Molet 2011-12-07 17:33:23 UTC
Overall certificate status is good in both main icon and facts; verification found in:

https://bugzilla.redhat.com/show_bug.cgi?id=745973#c6

marking VERIFIED.