Bug 1287027

Summary: glusterd: cli is showing command success for rebalance commands(command which uses op_sm framework) even though staging is failed in follower node.
Product: [Community] GlusterFS Reporter: Anand Nekkunti <anekkunt>
Component: glusterdAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amukherj, bugs, hgowtham, nlevinki, rhs-bugs, smohan, storage-qa-internal, vbellur
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1285170 Environment:
Last Closed: 2016-06-16 13:47:31 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: 1285170    
Bug Blocks:    

Comment 1 Vijay Bellur 2015-12-01 11:09:38 UTC
REVIEW: http://review.gluster.org/12836 (glusterd/opsm: set global opinfo to dic whenever it's get modified) posted (#1) for review on master by Anand Nekkunti (anekkunt)

Comment 2 Vijay Bellur 2015-12-02 08:19:37 UTC
REVIEW: http://review.gluster.org/12836 (glusterd/opsm: set global opinfo to dic whenever it's get modified) posted (#2) for review on master by Anand Nekkunti (anekkunt)

Comment 3 Vijay Bellur 2015-12-08 08:07:20 UTC
REVIEW: http://review.gluster.org/12836 (glusterd: Maintain per transaction op-info object) posted (#3) for review on master by Anand Nekkunti (anekkunt)

Comment 4 Vijay Bellur 2015-12-08 20:13:43 UTC
REVIEW: http://review.gluster.org/12836 (glusterd: Maintain per transaction op-info object) posted (#4) for review on master by Vijay Bellur (vbellur)

Comment 5 Vijay Bellur 2015-12-10 18:20:57 UTC
COMMIT: http://review.gluster.org/12836 committed in master by Atin Mukherjee (amukherj) 
------
commit 02168fdd1b0d63bac758db2f5e4a53b28e459f97
Author: anand <anekkunt>
Date:   Tue Dec 1 14:30:40 2015 +0530

    glusterd: Maintain per transaction op-info object
    
    Issues: Since in op-sm transactions a mix of access to global op-info & per transaction
    op-info objects are used, the correctness of op-info object may go for a toss resulting
    into incorrect response getting passed back to cli
    
    Fix: Use per transaction op-info object
    
    Change-Id: Ice023bace3e137dfd8e7b13bd5b53545a79a203f
    BUG: 1287027
    Signed-off-by: anand <anekkunt>
    Reviewed-on: http://review.gluster.org/12836
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 7 Niels de Vos 2016-06-16 13:47:31 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.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