Bug 1341069
Summary: | [geo-rep]: Monitor crashed with [Errno 3] No such process | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Aravinda VK <avishwan> |
Component: | geo-replication | Assignee: | Aravinda VK <avishwan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.8.0 | CC: | bugs, csaba, rhinduja, rhs-bugs, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.8.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1339472 | Environment: | |
Last Closed: | 2016-06-16 12:32:47 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: | 1339163, 1339472 | ||
Bug Blocks: | 1341068 |
Description
Aravinda VK
2016-05-31 08:11:56 UTC
REVIEW: http://review.gluster.org/14563 (geo-rep: Handle Worker kill gracefully if worker already died) posted (#1) for review on release-3.8 by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/14563 (geo-rep: Handle Worker kill gracefully if worker already died) posted (#2) for review on release-3.8 by Aravinda VK (avishwan) COMMIT: http://review.gluster.org/14563 committed in release-3.8 by Niels de Vos (ndevos) ------ commit 04e880a31f641659ebaf310898bbfc221d69e5fd Author: Aravinda VK <avishwan> Date: Tue May 24 14:13:29 2016 +0530 geo-rep: Handle Worker kill gracefully if worker already died If Agent dies for any reason, monitor tries to kill Worker also. But if worker is also died then kill command raises error ESRCH: No such process. [2016-05-23 16:49:33.903965] I [monitor(monitor):326:monitor] Monitor: Changelog Agent died, Aborting Worker(/bricks/brick0/master_brick0) [2016-05-23 16:49:33.904535] E [syncdutils(monitor):276:log_raise_exception] <top>: FAIL: Traceback (most recent call last): File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 306 in twrap tf(*aa) File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 393, in wmon slave_host, master) File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 327, in monitor os.kill(cpid, signal.SIGKILL) OSError: [Errno 3] No such process With this patch, monitor will gracefully handle if worker is already died. > Change-Id: I3ae5f816a3a197343b64540cf46f5453167fb660 > Signed-off-by: Aravinda VK <avishwan> > BUG: 1339472 > Reviewed-on: http://review.gluster.org/14512 > Smoke: Gluster Build System <jenkins.com> > NetBSD-regression: NetBSD Build System <jenkins.org> > Reviewed-by: Kotresh HR <khiremat> > CentOS-regression: Gluster Build System <jenkins.com> (cherry picked from commit 4f4a94a35a24d781f3f0e584a8cb59c019e50d6f) Change-Id: I3ae5f816a3a197343b64540cf46f5453167fb660 Signed-off-by: Aravinda VK <avishwan> BUG: 1341069 Reviewed-on: http://review.gluster.org/14563 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.com> 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.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |