Bug 949419

Summary: List --installed on a system registered with activation-key that has expired subscription displays the subscription status as Subscribed
Product: Red Hat Enterprise Linux 5 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED NOTABUG QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: fsharath, jgalipea, jmolet, jsefler, redakkan, skallesh, spandey, wpoteat
Target Milestone: beta   
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-05 12:44:22 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, 920191    
Attachments:
Description Flags
Detailed description
none
rhsm log none

Description Shwetha Kallesh 2013-04-08 06:50:24 UTC
Created attachment 732556 [details]
Detailed description

Description of problem:
List --installed on a system registered with activation-key that has expired subscription displays the subscription status as Subscribed

Version-Release number of selected component (if applicable):
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.1-1
subscription-manager: 1.8.5-1.git.4.82e4aee.el7
python-rhsm: 1.8.8-1.git.0.c7ea5c0.el7


How reproducible:


Steps to Reproduce:
1.Create an activation-key
2.Add a pool to the activation key created
3.change the date to 2014 
4.register using the activation key created above
5.look for status of installed product and consumed list
  
Actual results:
In the attachment



Expected results:
Status of the installed product should be "Expired"

Additional info:

Comment 1 Shwetha Kallesh 2013-04-08 06:51:35 UTC
Created attachment 732557 [details]
rhsm log

Comment 2 RHEL Program Management 2013-04-09 20:56:08 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 William Poteat 2013-06-05 12:44:22 UTC
The status is calculated at the server. You need to change the time on the server machine to see the status move to 'Expired'.