Bug 1283187

Summary: [GlusterD]: Incorrect peer status showing if volume restart done before entire cluster update.
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.5CC: bsrirama, bugs, kaushal, nlevinki, rhs-bugs, sankarshan, sasundar, smohan, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: glusterd
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1283178 Environment:
Last Closed: 2016-04-19 07:48: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: 1283035, 1283178    
Bug Blocks: 1248895    

Comment 1 Vijay Bellur 2015-11-18 12:25:13 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of quota version) posted (#1) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Vijay Bellur 2015-11-18 12:35:40 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of quota version) posted (#2) for review on release-3.7 by Anand Nekkunti (anekkunt)

Comment 3 Vijay Bellur 2015-11-19 06:04:32 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of quota version) posted (#3) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Vijay Bellur 2015-11-19 10:12:40 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of new quota volinfo option) posted (#4) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 5 Vijay Bellur 2015-12-04 07:14:26 UTC
REVIEW: http://review.gluster.org/12879 (quota: add 'quota-version' to xlator volume_options structure) posted (#1) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 6 Vijay Bellur 2015-12-09 05:29:32 UTC
COMMIT: http://review.gluster.org/12879 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit df38146d698b5acbf51d983766322cc0cb10b47b
Author: vmallika <vmallika>
Date:   Fri Dec 4 12:36:22 2015 +0530

    quota: add 'quota-version' to xlator volume_options structure
    
    This is a backport of http://review.gluster.org/#/c/12878/
    
    Below error is seen in brick log:
    0-vol1-quota: option 'quota-version' is not recognized
    
    So add this option to the volume_options structure of
    marker xlator
    
    > Change-Id: I1bd68a537936ee0f9af85dac74f1377f84edb8f4
    > BUG: 1283178
    > Signed-off-by: vmallika <vmallika>
    
    Change-Id: I108cfa2cb829daad9aca80cbd630b9afab0b05a7
    BUG: 1283187
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/12879
    Reviewed-by: Manikandan Selvaganesh <mselvaga>
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 7 Vijay Bellur 2015-12-09 07:46:18 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of new quota volinfo option) posted (#5) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 8 Vijay Bellur 2015-12-09 17:07:50 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of new quota volinfo option) posted (#6) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 9 Vijay Bellur 2015-12-17 08:14:30 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of new quota volinfo option) posted (#7) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 10 Vijay Bellur 2015-12-21 09:00:48 UTC
REVIEW: http://review.gluster.org/12643 (quota: fix backward compatibility of new quota volinfo option) posted (#8) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 11 Vijay Bellur 2015-12-22 09:30:28 UTC
COMMIT: http://review.gluster.org/12643 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit 72176d439780afdb8b67de86182dd7444f1fb7d5
Author: vmallika <vmallika>
Date:   Wed Dec 9 13:13:17 2015 +0530

    quota: fix backward compatibility of new quota volinfo option
    
    This is a backport of http://review.gluster.org/#/c/12642/
    
    quota-version features is implemented for 3.7.6
    please see below patch for more details:
    http://review.gluster.org/#/c/12386
    
    As part of this feature, new volume info option 'quota-version'
    was introduced, this can cause check-sum problem
    when a one of the node in a cluster is upgraded to 3.7.6
    (heterogeneous cluster)
    
    So do a OP_VERSION check when storing this option
    in volume info
    
    > Change-Id: Ic5b03a1e3f1236b645a065b1fadee7950307e191
    > BUG: 1283178
    > Signed-off-by: vmallika <vmallika>
    
    Change-Id: I878202dcf5b44dcbbeff0d5b798649363a96e422
    BUG: 1283187
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/12643
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 12 Kaushal 2016-04-19 07:48: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.7.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user