Bug 820295
Summary: | Network Connection Checking in GUI | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Matt Reid <mreid> |
Component: | subscription-manager | Assignee: | Devan Goodwin <dgoodwin> |
Status: | CLOSED CANTFIX | QA Contact: | Entitlement Bugs <entitlement-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.9 | CC: | bkearney, dgoodwin, ljozsa |
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: | 2012-06-04 20:05:24 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: | 771748, 782468, 827225 |
Description
Matt Reid
2012-05-09 14:33:43 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. So on RHEL6 using network manager in the system tray, I'm not really able to reproduce. Start with network disconnected, search for subs, get error. Enable network, search for subs, no problem. Disable while running, search, get slightly different but still accurate error. Re-enable, search, no problems. Even with ifup/ifdown on eth0, the results are the same, it always recovers once I bring the interface back up. (regardless of what state it was in when I started it) Could you clarify exactly how you were enabling/disabling the network? Found a reproducer, needs to be using DNS to hit the server, where as I was using a local candlepin going directly to it's IP. The error here is socket.gaierror: [ERROR] @utils.py:56 - [Errno -3] Temporary failure in name resolution Even after bringing up the network connection, that error seemingly will never go away. This problem is pretty widely reported in a number of programming languages and projects, I think it's well below our code in the socket libraries somehow. I can't find any solutions yet that don't end with restarting. For example, apache seems to sometimes have issues with this, I believe it is related to the fact that when a network interface comes back up, it could pick up new DNS servers, which confuses some already running programs. ( http://stackoverflow.com/questions/2880563/file-function-file-php-network-getaddresses-getaddrinfo-failed-temporary ) I made an attempt to re-instantiate the connections we hold onto in our code but this makes no difference, thus why I think the problem is well into lower levels. I honestly have no idea what we could do to solve. (and the error is already handled and reported to the user) Given the rarity of the situation here (subscription manager opened while network was up, network interface taken down, network regained), I do not think this issue is worth pursuing. Restarting subscription-manager-gui in this rare situation, seems like an acceptable workaround. Going to close, if anyone strongly disagrees let me know and we can figure out if we should re-open or what to do. *** Bug 1061118 has been marked as a duplicate of this bug. *** |