Bug 997862

Summary: Product status is not getting updated to green/red when register and auto-attach through CLI
Product: Red Hat Enterprise Linux 5 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED NOTABUG QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: fsharath, jmolet, jsefler, skallesh, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-16 12:35:32 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    
Attachments:
Description Flags
sub-man-gui status none

Description Rehana 2013-08-16 10:10:05 UTC
Description of problem:
Installed product status is continued to be displayed with "Grey" and status "unknown" when register the client and auto-attached subscriptions through CLI

Version-Release number of selected component (if applicable):
On rhel5.10 snapshot5

subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.20-1
subscription-manager: 1.8.20-1.el5
python-rhsm: 1.8.16-1.el5


How reproducible:
3/3

Steps to Reproduce:
1.Launch the subscription-manager-gui
2.Now register and auto-attach through CLI 


Actual results:
Obseerved that the "all available subscriptions" tab was getting disaplyed after registeration, but the installed product status continued to display in "Grey" color with "Unknown" status (PFA)

Expected results:
status changes on the installed products should get updated on sub-man-gui with out relaunching the same

Additional info:

Comment 1 Rehana 2013-08-16 10:12:49 UTC
Created attachment 787213 [details]
sub-man-gui status

Comment 2 Rehana 2013-08-16 10:37:02 UTC
With couple of more trials, It came to my notice that , the above mentioned observation was happend when the candlepin-ca.crt file was copied and edited rhsm.config file to point to local candlepin from stage server.When all these changes were made the GUI was running and didnt relaunch the same after the changing config files.

Comment 3 Rehana 2013-08-16 12:35:32 UTC
changing  the config while gui is open, will need a gui relaunch to establish the connection with new server details

Closing it as not a bug