Bug 1381115
| Summary: | Polling failure errors getting when volume is started&stopped with SSL enabled setup. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Mohit Agrawal <moagrawa> |
| Component: | glusterd | Assignee: | Mohit Agrawal <moagrawa> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | amukherj, bsrirama, bugs, pierre-yves.goubet, rcyriac, rhinduja, rhs-bugs, storage-qa-internal, vbellur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1336377 | Environment: | |
| Last Closed: | 2017-03-06 17:28:10 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: | 1349709, 1359651, 1359654 | ||
|
Description
Mohit Agrawal
2016-10-03 05:01:04 UTC
Hi, After stop the volume means one end of socket is disconnected but if client(mount point) is still trying to write the data on socket then it will get EIO error on that socket.We can't avoid this message it is important to break from the loop and to know the status about the SSL connection poll events. To reduce the frequency of error message i have declared one static variable (poll_err_cnt) and call GF_LOG_OCCASIONALLY instead of calling gf_log in socket_poller code. Regards Mohit Agrawal REVIEW: http://review.gluster.org/15605 (rpc/socket.c : Modify gf_log message in socket_poller code in case of error.) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15605 (rpc/socket.c : Modify gf_log message in socket_poller code in case of error.) posted (#2) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15605 (rpc/socket.c : Modify gf_log message in socket_poller code in case of error) posted (#3) for review on master by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/15605 committed in master by Raghavendra G (rgowdapp) ------ commit 070145750006c87099f945b4990a4460d814c21f Author: Mohit Agrawal <moagrawa> Date: Mon Oct 3 10:55:23 2016 +0530 rpc/socket.c : Modify gf_log message in socket_poller code in case of error Problem: In case of SSL after stopping the volume if client(mount point) is still trying to write the data on socket then it will throw an EIO error on that socket and given this log message is captured at every attempt this would flood the log file. Solution: To reduce the frequency of stored log message use GF_LOG_OCCASIONALLY instead of gf_log. BUG: 1381115 Change-Id: I66151d153c2cbfb017b3ebc4c52162278c0f537c Signed-off-by: Mohit Agrawal <moagrawa> Reviewed-on: http://review.gluster.org/15605 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report. glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |