| Summary: | Spacewalk Proxy Full Restart Causes OSAD to stop working | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | JDavis4102 |
| Component: | Proxy Server | Assignee: | Jan Pazdziora <jpazdziora> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.4 | CC: | jpazdziora, mhuth |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | osad-5.10.29-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-22 16:51:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 723481 | ||
|
Description
JDavis4102
2011-03-29 16:12:31 UTC
Any update as to the status of this bug report? No update. This bug has very low priority for me. But just guess: Can you try to synchronize time on both Spacewalk server and Spacewalk Proxy and see if this still happens? All time is being synced with ntp. All time is the same. Any update as to the status of this bug report? No update. Updated to reflect that this issue is also seen in current 1.4 version. Aligning under space16. The patch in https://bugzilla.redhat.com/show_bug.cgi?id=664491#c37 may well fix this issue as well: --- osad.py.rpmorig_osad-5.10.24-1.el6 2011-10-31 19:01:15.362182682 +0100 +++ osad.py 2011-11-07 10:15:26.462966152 +0100 @@ -20,6 +20,7 @@ import string from rhn import rpclib import random +import socket from up2date_client.config import initUp2dateConfig from up2date_client import config @@ -210,6 +211,9 @@ c.client_id = self._client_name c.shared_key = self._shared_key c.time_drift = self._time_drift + c._sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) + c._sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE, 1800) + c._sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPCNT, 3) # Update the jabber ID systemid = open(self._systemid_file).read() If the server side connection is closed, but the client still has its end open, then when the keepalive timeout is exceeded (about 30 minutes) the kernel terminates the connection, and osad tries reconnecting. Thank you, mark. Patches from bug 664491 were applied to Spacewalk master (with whitespaces fixed) as 586766a1030c9607ea97b9d9b87196d9e760541f and 0c859a376540c6ea2cbcf87d09164f76c30a475d. s/mark/Mark/. Sorry about that, it was an unfortunate typo. Spacewalk 1.6 has been released. |