Bug 1288474

Summary: tiering: quota list command is not working after attach or detach
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: ashah, bugs, nchilaka, rcyriac, sankarshan, smohan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1287997
: 1288484 (view as bug list) Environment:
Last Closed: 2016-06-16 13:48:40 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: 1287997    
Bug Blocks: 1288484    

Comment 1 Vijay Bellur 2015-12-04 11:29:49 UTC
REVIEW: http://review.gluster.org/12881 (quota: copy quota_version value in func glusterd_volinfo_dup) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Vijay Bellur 2015-12-09 07:23:14 UTC
COMMIT: http://review.gluster.org/12881 committed in master by Atin Mukherjee (amukherj) 
------
commit eb1a6e9f88cfd4c80c6af7260e5e6537cb76b6c0
Author: vmallika <vmallika>
Date:   Fri Dec 4 16:51:18 2015 +0530

    quota: copy quota_version value in func glusterd_volinfo_dup
    
    quota_version is a new variable introduced for
    quota xattr versioning feature.
    
    quota_version was not copied when creating duplicate
    volinfo in function 'glusterd_volinfo_dup'
    so any feature like snapshot/tiering using
    glusterd_volinfo_dup will get the default value
    of quota_version instead of the correct number
    and can cause a problem
    
    Change-Id: I7b0f418002d49aa7210e2e741e65ee5b2593e6a6
    BUG: 1288474
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/12881
    Reviewed-by: Manikandan Selvaganesh <mselvaga>
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 3 Vijay Bellur 2015-12-09 09:31:57 UTC
REVIEW: http://review.gluster.org/12920 (glusterd: fix broken code by http://review.gluster.org/#/c/12881/ patch) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 4 Vijay Bellur 2015-12-09 09:46:30 UTC
REVIEW: http://review.gluster.org/12920 (glusterd: fix broken code by http://review.gluster.org/#/c/12881/ patch) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)

Comment 7 Niels de Vos 2016-06-16 13:48:40 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