Bug 1276060
Summary: | dist-geo-rep: geo-rep status shows Active/Passive even when all the gsync processes in a node are killed | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Saravanakumar <sarumuga> |
Component: | geo-replication | Assignee: | Saravanakumar <sarumuga> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.7.6 | CC: | avishwan, bkunal, bugs, chrisw, csaba, gluster-bugs, nlevinki, rcyriac, rhs-bugs, sarumuga, storage-qa-internal, vbhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | status | ||
Fixed In Version: | glusterfs-3.7.6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1251980 | Environment: | |
Last Closed: | 2015-11-17 06:01:43 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: | 1033184, 1249973, 1249975, 1251980 | ||
Bug Blocks: | 1275914 |
Description
Saravanakumar
2015-10-28 14:35:33 UTC
REVIEW: http://review.gluster.org/12448 (geo-rep: Update geo-rep status, if monitor process is killed) posted (#1) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/12448 (geo-rep: Update geo-rep status, if monitor process is killed) posted (#2) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/12448 (geo-rep: Update geo-rep status, if monitor process is killed) posted (#3) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/12448 (geo-rep: Update geo-rep status, if monitor process is killed) posted (#4) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) COMMIT: http://review.gluster.org/12448 committed in release-3.7 by Vijay Bellur (vbellur) ------ commit e3b48d847492b831487a8539e3e726706959ac2f Author: Saravanakumar Arumugam <sarumuga> Date: Mon Aug 10 18:42:05 2015 +0530 geo-rep: Update geo-rep status, if monitor process is killed Problem: When the monitor process itself is getting killed, geo-rep session still shows as active. Status command will just pick up the content from the status file to show the output. Monitor process is the one which updates the Status file. When the monitor process itself gets killed, there is no way to update the status file. So, geo-rep session status command ends up showing last updated Status present in the status file. Solution: While getting the status output, check whether monitor process is running. If it is NOT running, update the status as STOPPED. Change-Id: I86a7ac1746dd8f27eef93658e992ef16f6068d9d BUG: 1276060 Signed-off-by: Saravanakumar Arumugam <sarumuga> Reviewed-on: http://review.gluster.org/11873 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Milind Changire <mchangir> Reviewed-by: Kotresh HR <khiremat> Reviewed-by: Jeff Darcy <jdarcy> (cherry picked from commit 4d4c7d5dc54850dcf916083b2b1398d9bfe2bfe6) Reviewed-on: http://review.gluster.org/12448 Reviewed-by: Aravinda VK <avishwan> Reviewed-by: Vijay Bellur <vbellur> 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.7.6, please open a new bug report. glusterfs-3.7.6 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://www.gluster.org/pipermail/gluster-users/2015-November/024359.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |