Red Hat Bugzilla – Bug 1256781
Quota command enable is unavailable in this version.
Last modified: 2016-05-11 18:49:32 EDT
Description of problem: Trying to enable quota on a GlusterFS volume results in error message that suggests that the option is not available in the given version, however, it used to be available in earlier releases and I couldn't find in any of the release notes that this feature would have become deprecated/unsupported.
Version-Release number of selected component (if applicable):glusterfs 3.7.3 built on Jul 28 2015 14:28:55 (RPM coming from: baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-$releasever/$basearch/)
How reproducible: Should be reproducible with the same RPM. (Tested on CentOS 6.6)
Steps to Reproduce:
1. Create 2-brick replicated volume on 2-node cluster (probably it's irrelevant, maybe it could be a single brick setup as well, but this was my exact scenario)
2. Start the volume with gluster volume start gvol0
3. Enable quota with gluster volume quota gvol0 enable
quota command failed : Volume quota failed. The cluster is operating at version 30603. Quota command enable is unavailable in this version.
Quota is enabled on gvol0
Additional info: It's strange enough that the error message says version "30603". I don't know exactly how to parse this version number, but it looks a bit suspicious given that I was running 3.7.3
I checked again, on all nodes the glusterd version. It was the same, 3.7.3, so I reopened this issue.
glusterfs 3.7.3 built on Jul 28 2015 14:28:55
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
uname -r: 2.6.32-504.23.4.el6.x86_64
You need to pump up the op-version after upgrading and check if quota enable works
# gluster volume set <volname> cluster.op-version <op-version>
op-version for 3.7.3 is '30703'
Was the issue solved with the command mentioned in comment# 2?
As per comment#2, closing as not a bug