[Bugs] [Bug 1450773] New: Quota: After upgrade from 3.7 to higher version , gluster quota list command shows "No quota configured on volume repvol"
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 15 07:40:41 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1450773
Bug ID: 1450773
Summary: Quota: After upgrade from 3.7 to higher version ,
gluster quota list command shows "No quota configured
on volume repvol"
Product: GlusterFS
Version: 3.10
Component: quota
Severity: urgent
Assignee: sunnikri at redhat.com
Reporter: sunnikri at redhat.com
CC: amukherj at redhat.com, ashah at redhat.com,
bugs at gluster.org, rcyriac at redhat.com,
rhs-bugs at redhat.com, storage-qa-internal at redhat.com
+++ This bug was initially created as a clone of Bug #1414346 +++
Description of problem:
Quota is enabled,and limit-usage is set on certain directories. After upgrade
from 3.7.9 to latest quota list command shows "No quota configured on volume
repvol "
Steps to Reproduce:
1. Create 2*2 dist-repvol vol on 3.7.9
2. Enable quota and set limit-usage and limit-object
3. Do fuse mount and create some date on mount point
4. Now do in-server upgrade of system .
5. after upgrade run quota vol list command
Actual results:
gluster v info shows quota is on
however quota list command shows "quota: No quota configured on volume "
Expected results:
quota list command should work
It was noticed that with op version bump up the quota conf file is updated and
the limits stored in this file get lost.
This issue is hit in 2 scenarios:
1) when we upgrade from 3.6 to 3.7 (where the quota.conf needs an upgrade)
2) When the upgrade happens from 3.7 or more to higher version (where no
quota.conf upgrade is needed)
--- Additional comment from Worker Ant on 2017-01-18 05:34:36 EST ---
REVIEW: http://review.gluster.org/16425 (Fixes upgrade issue in quota.conf)
posted (#1) for review on master by sanoj-unnikrishnan (sunnikri at redhat.com)
--- Additional comment from Worker Ant on 2017-01-19 02:19:09 EST ---
REVIEW: http://review.gluster.org/16425 (Fixes upgrade issue in quota.conf)
posted (#2) for review on master by sanoj-unnikrishnan (sunnikri at redhat.com)
--- Additional comment from Worker Ant on 2017-01-19 08:29:29 EST ---
COMMIT: http://review.gluster.org/16425 committed in master by Atin Mukherjee
(amukherj at redhat.com)
------
commit 89cf743118ab6554c7f210754e51c4921cbb60c7
Author: Sanoj Unnikrishnan <sunnikri at redhat.com>
Date: Wed Jan 18 15:56:00 2017 +0530
Fixes upgrade issue in quota.conf
When an op-version bump up is done the glusterd_store_quota_config
upgrades the quota conf file, although overwriting the same later
which leaves out all gfid entries. While this is warranted for
enable opcode, for upgrade we need to retain gfids. So for upgrade
opcode, we return once the upgrade is done.
Change-Id: I2b38c6022d74b4a14dc07432651a51cc39ad5120
BUG: 1414346
Signed-off-by: Sanoj Unnikrishnan <sunnikri at redhat.com>
Reviewed-on: http://review.gluster.org/16425
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
--- Additional comment from Worker Ant on 2017-05-15 03:29:07 EDT ---
REVIEW: https://review.gluster.org/17291 (Fixes upgrade issue in quota.conf)
posted (#1) for review on release-3.8 by sanoj-unnikrishnan
(sunnikri at redhat.com)
--
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=qAksAiAlNq&a=cc_unsubscribe
More information about the Bugs
mailing list