Bug 1045302 - Two error message shows when press "Attach" button in rhsm gui when the system can not connect to the candlepin server
Summary: Two error message shows when press "Attach" button in rhsm gui when the syste...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Devan Goodwin
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-12-20 06:04 UTC by xingge
Modified: 2016-09-20 02:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-17 20:22:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
the two error message window. (647.27 KB, image/png)
2013-12-20 06:05 UTC, xingge
no flags Details

Description xingge 2013-12-20 06:04:22 UTC
Description of problem:
Two error message shows when press "Attach" button in rhsm gui "All available Subscriptions" tab when the system can not connect to the candlepin server 

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

How reproducible:
always

Steps to Reproduce:
1.register the system
2.open subscription-manager-gui and go to "All available Subscriptions" tab, press "Update" button
3.let the candlepin server become unreachable, in my case I use cmd "ifconfig eth0 down"
4.select one of the listed subscription and press "Attach" button.

Actual results:
Two error message shows to tell you that "Network error". They located in the same place so after you press "OK" button on the front one, you will find there is still a error message. 

Expected results:
Only one error message window should show.

Additional info:

Comment 1 xingge 2013-12-20 06:05:10 UTC
Created attachment 839385 [details]
the two error message window.

Comment 2 Devan Goodwin 2014-01-17 20:22:29 UTC
I think I'm going to close this, I understand that this behaviour is weird but the double error occurs once because the bind fails, then we return to the all subscriptions screen, which automatically tries to refresh and fails causing another error popup.

However to even get to this point, the server must be up when we list subscriptions, but go down by the time we hit attach. Given the likely very small interval between these two events, the complexity in communicating between these two pieces of code that an error has occurred previously, and the fact that this is a very minor bug, I'm going to close this as a WONTFIX as I don't think it's worth the errort / complexity to solve.

If this proves to be a serious issue for anyone we can reopen.


Note You need to log in before you can comment on or make changes to this bug.