[Bugs] [Bug 1215907] New: cli should return error with inode quota cmds on cluster with op_version less than 3.7

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 28 06:22:54 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1215907

            Bug ID: 1215907
           Summary: cli should return error with inode quota cmds on
                    cluster with op_version less than 3.7
           Product: GlusterFS
           Version: 3.7.0
         Component: quota
          Assignee: bugs at gluster.org
          Reporter: vmallika at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1212253
            Blocks: 1186580 (qe_tracker_everglades), 1199352
                    (glusterfs-3.7.0)



+++ This bug was initially created as a clone of Bug #1212253 +++

In a heterogeneous cluster with op_version less 3.7, quota inodes will account
on those bricks which has glusterfs version 3.7 and no this is not available in
older version.
This will have incorrect values displayed when user queries inode count from
CLI.

So CLI should display error 'Inode quotas supported only with cluster version
3.7 and above'

--- Additional comment from Anand Avati on 2015-04-16 00:33:12 EDT ---

REVIEW: http://review.gluster.org/10261 (quota: display error when
setting/removing object limits with ver < 3.7) posted (#1) for review on master
by Vijaikumar Mallikarjuna (vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-04-16 05:06:35 EDT ---

REVIEW: http://review.gluster.org/10261 (quota: display error when inode-quota
cmds executed with cluster ver < 3.7) posted (#2) for review on master by
Vijaikumar Mallikarjuna (vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-04-16 05:24:33 EDT ---

REVIEW: http://review.gluster.org/10261 (quota: display error when inode-quota
cmds executed with cluster ver < 3.7) posted (#3) for review on master by
Vijaikumar Mallikarjuna (vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-04-16 05:59:05 EDT ---

REVIEW: http://review.gluster.org/10261 (quota: display error when inode-quota
cmds executed with cluster ver < 3.7) posted (#4) for review on master by
Vijaikumar Mallikarjuna (vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-04-17 02:47:54 EDT ---

REVIEW: http://review.gluster.org/10261 (quota: display error when inode-quota
cmds executed with cluster ver < 3.7) posted (#5) for review on master by
Vijaikumar Mallikarjuna (vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-04-28 00:57:51 EDT ---

COMMIT: http://review.gluster.org/10261 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 1adf231fc425ac35eb91a5b771ea0c5c97b1f6c3
Author: vmallika <vmallika at redhat.com>
Date:   Thu Apr 16 08:10:01 2015 +0530

    quota: display error when inode-quota cmds executed with cluster ver < 3.7

    In a heterogeneous cluster with op_version less than 3.7, inode quotas will
    be accounted on those bricks which has glusterfs version 3.7 and this is
    not available in older version.
    This will have incorrect values displayed when user queries inode count
    from CLI.

    This patch will display error when inode-quota commands
    are executed with cluster version less than 3.7

    Change-Id: Ia0e6d5635d1d8e7b2e2cfc3daa7b7f9e314a263a
    BUG: 1212253
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/10261
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1186580
[Bug 1186580] QE tracker bug for Everglades
https://bugzilla.redhat.com/show_bug.cgi?id=1199352
[Bug 1199352] GlusterFS 3.7.0 tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1212253
[Bug 1212253] cli should return error with inode quota cmds on cluster with
op_version less than 3.7
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list