[Bugs] [Bug 1226158] New: Quota: Do not allow set/unset of quota limit in heterogeneous cluster

bugzilla at redhat.com bugzilla at redhat.com
Fri May 29 06:05:21 UTC 2015


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

            Bug ID: 1226158
           Summary: Quota: Do not allow set/unset  of quota limit in
                    heterogeneous cluster
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: gluster-quota
          Assignee: vagarwal at redhat.com
          Reporter: vmallika at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1223739
            Blocks: 1186580 (qe_tracker_everglades), 1219955
                    (glusterfs-3.7.1), 1226153



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

There is change in quota.conf format in release-3.7. In a heterogeneous cluster
if the quota limit is changed, this can cause a hand-shake problem when
glusterd is restarted.

Do not allow setting/removing quota limit in heterogeneous cluster

--- Additional comment from Anand Avati on 2015-05-22 04:44:31 EDT ---

REVIEW: http://review.gluster.org/10889 (quota: quota.conf backward
compatibility fix) posted (#1) for review on master by Vijaikumar Mallikarjuna
(vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-05-28 02:55:31 EDT ---

REVIEW: http://review.gluster.org/10889 (quota: quota.conf backward
compatibility fix) posted (#3) for review on master by Vijaikumar Mallikarjuna
(vmallika at redhat.com)

--- Additional comment from Anand Avati on 2015-05-28 21:57:46 EDT ---

COMMIT: http://review.gluster.org/10889 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit b7f05e64f615a12e6487eab64544b8f92a6037ae
Author: vmallika <vmallika at redhat.com>
Date:   Fri May 22 14:04:31 2015 +0530

    quota: quota.conf backward compatibility fix

    In release-3.7 the format of quota.conf is changed.
    There is a backward compatibility issues during upgrade
    1) There can be an issue when peer sync between node-3.6 and node-3.7
    2) If the user sets/removes limit, there is will different format of
       file in node-3.6 and node-3.7

    This patch fixes the issue:
    1) restrict the user to execute command quota enable, limit-usage, remove
    2) write quota.conf in older format if op-version is less than 3.6

    Change-Id: Ib76f5a0a85394642159607a105cacda743e7d26b
    BUG: 1223739
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/10889
    Tested-by: NetBSD Build System
    Reviewed-by: Krishnan Parthasarathi <kparthas 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=1219955
[Bug 1219955] GlusterFS 3.7.1 tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1223739
[Bug 1223739] Quota: Do not allow set/unset  of quota limit in
heterogeneous cluster
https://bugzilla.redhat.com/show_bug.cgi?id=1226153
[Bug 1226153] Quota: Do not allow set/unset  of quota limit in
heterogeneous cluster
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=D7RFNlcMVe&a=cc_unsubscribe


More information about the Bugs mailing list