Bug 1256781 - Quota command enable is unavailable in this version.
Summary: Quota command enable is unavailable in this version.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.7.3
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-25 12:39 UTC by György Demarcsek
Modified: 2023-09-14 03:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 01:43:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description György Demarcsek 2015-08-25 12:39:14 UTC
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

Actual results:
quota command failed : Volume quota failed. The cluster is operating at version 30603. Quota command enable is unavailable in this version.

Expected results:
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

Comment 1 György Demarcsek 2015-08-27 08:56:13 UTC
I checked again, on all nodes the glusterd version. It was the same, 3.7.3, so I reopened this issue.

glusterd --version
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.

Additional info:
uname -r: 2.6.32-504.23.4.el6.x86_64

Comment 2 Vijaikumar Mallikarjuna 2015-12-21 09:38:22 UTC
Hi György,

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'

Thanks,
Vijay

Comment 3 Vijaikumar Mallikarjuna 2016-02-15 06:53:48 UTC
Hi György,

Was the issue solved with the command mentioned in comment# 2?

Thanks,
Vijay

Comment 4 Vijaikumar Mallikarjuna 2016-04-07 01:43:11 UTC
As per comment#2, closing as not a bug

Comment 5 Red Hat Bugzilla 2023-09-14 03:04:14 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.