Bug 1229100

Summary: Do not invoke glfs_fini for glfs-heal processes.
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: replicateAssignee: Atin Mukherjee <amukherj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: amukherj, atalur, bugs, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1228635 Environment:
Last Closed: 2015-06-20 09:50:12 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: 1228635    
Bug Blocks:    

Description Atin Mukherjee 2015-06-08 04:22:55 UTC
+++ This bug was initially created as a clone of Bug #1228635 +++

Description of problem:

Failure case:
Running gluster volume heal <volname> info on a stopped volume results in a core.
This should not happen.

A bug has already been raised to report this issue (BZ 1220996). 

This bug is specifically being raised so that a workaround fix can be sent to tackle above mentioned failure case for regressions, till the mentioned BZ is RCA'ed and fixed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-06-05 07:37:07 EDT ---

REVIEW: http://review.gluster.org/11103 (heal : Do not invoke glfs_fini for glfs-heal commands) posted (#1) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2015-06-05 08:03:27 EDT ---

REVIEW: http://review.gluster.org/11103 (heal : Do not invoke glfs_fini for glfs-heal commands) posted (#2) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2015-06-05 14:04:37 EDT ---

REVIEW: http://review.gluster.org/11103 (heal : Do not invoke glfs_fini for glfs-heal commands) posted (#3) for review on master by Vijay Bellur (vbellur)

--- Additional comment from Anand Avati on 2015-06-06 12:50:06 EDT ---

COMMIT: http://review.gluster.org/11103 committed in master by Vijay Bellur (vbellur) 
------
commit 8f12fae9cb9349af2e3eeb338b5d85112655dc29
Author: Anuradha <atalur>
Date:   Fri Jun 5 16:49:14 2015 +0530

    heal : Do not invoke glfs_fini for glfs-heal commands
    
    Change-Id: I2fa6789488c4ecebbed049f46c189441fba48535
    BUG: 1228635
    Signed-off-by: Anuradha <atalur>
    Reviewed-on: http://review.gluster.org/11103
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 1 Anand Avati 2015-06-08 04:23:36 UTC
REVIEW: http://review.gluster.org/11115 (heal : Do not invoke glfs_fini for glfs-heal commands) posted (#1) for review on release-3.7 by Atin Mukherjee (amukherj)

Comment 2 Anand Avati 2015-06-09 05:07:24 UTC
COMMIT: http://review.gluster.org/11115 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 2ff7c89236f1dc2bc0cb9e97ec2ac5a180618ff6
Author: Anuradha <atalur>
Date:   Fri Jun 5 16:49:14 2015 +0530

    heal : Do not invoke glfs_fini for glfs-heal commands
    
    backport of http://review.gluster.org/11103
    
    Change-Id: I2fa6789488c4ecebbed049f46c189441fba48535
    BUG: 1229100
    Signed-off-by: Anuradha <atalur>
    Reviewed-on: http://review.gluster.org/11103
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>
    Reviewed-on: http://review.gluster.org/11115
    Tested-by: NetBSD Build System <jenkins.org>

Comment 3 Niels de Vos 2015-06-20 09:50:12 UTC
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.2, please reopen this bug report.

glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user