Bug 969398

Summary: RHSM GUI couldn't reach the candlepin server if firstly disable the network and open rhsm GUI and then reconnect the network
Product: Red Hat Enterprise Linux 5 Reporter: xingge <gxing>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED WONTFIX QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, ckozak, ldai, liliu
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-05-31 20:50:13 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    

Description xingge 2013-05-31 11:13:36 UTC
Description of problem:
Disable the network and open rhsm GUI, then reconnect the network, the rhsm GUI couldn't reach the candlepin server unless restart the GUI.

Version-Release number of selected component (if applicable):
subscription-manager-1.8.8-1.el5
subscription-manager-gui-1.8.8-1.el5
subscription-manager-firstboot-1.8.8-1.el5
python-rhsm-1.8.11-1.el5

How reproducible:
always

Steps to Reproduce:
1.Make sure the system is unregistered and disconnected from network.
I use "service network stop" to disconnect the system from network.

2.launch the rhsm GUI
#subscription-manager-gui

3.Reconnect the system to the network and make sure than it can get to the candlepin server.
#server network start

4.Register the system using the opened rhsm gui.
Click "Register" button in "My Installed Products" and press "Next" at the pop-up window.

Actual results:
An error window pops and says: "Unable to reach the server at subscription.rhn.stage.redhat.com:443/subscription"

Expected results:
No error message would be shown, and the register progress should go on.

Additional info:

Comment 1 RHEL Program Management 2013-05-31 11:20:51 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 2 Carter Kozak 2013-05-31 20:50:13 UTC
Bug with an underlying library.  If the host doesn't exist at the time of import, it won't be recognized until the program is restarted.