Bug 985812 - quota + remove-brick: remove brick fails to start
quota + remove-brick: remove brick fails to start
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Kaushal
: ZStream
Depends On:
  Show dependency treegraph
Reported: 2013-07-18 06:01 EDT by Saurabh
Modified: 2016-01-19 01:12 EST (History)
10 users (show)

See Also:
Fixed In Version: glusterfs-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-27 10:29:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Saurabh 2013-07-18 06:01:38 EDT
Description of problem:
remove brick fails to start for the volume on which quota limit set is full.

Version-Release number of selected component (if applicable):
[root@nfs1 ~]# rpm -qa | grep glusterfs

How reproducible:
using quota and brick operations for this build first time.

Steps to Reproduce:
1. create a volume , start it
2. enable quota
3. set limit of 1GB on "/"
4. mount the volume over nfs
5. create two dirs dir1 and dir2.
6. create data inside them
7. after the limit-set is filled.
[root@nfs1 ~]# gluster volume quota quota-dist-rep list
                  Path                   Hard-limit Soft-limit   Used  Available
/                                            1GB       90%       1.0GB  0Bytes

start remove-brick,

Actual results:

[root@nfs1 ~]# gluster volume remove-brick quota-dist-rep start
volume remove-brick start: failed: A remove-brick task on volume quota-dist-rep is not yet committed. Either commit or stop the remove-brick task.
[root@nfs1 ~]# gluster volume remove-brick quota-dist-rep status
                                    Node Rebalanced-files          size       scanned      failures         status run-time in secs
                               ---------      -----------   -----------   -----------   -----------   ------------   --------------
                               localhost                0        0Bytes             0             0    not started             0.00
                                  0        0Bytes          1028             0      completed             4.00
                                   0        0Bytes          1028             0      completed             3.00
                                  0        0Bytes          1028             0      completed             4.00

Expected results:
remove brick should succeed irrespective of quota

Additional info:
just before this I filed the BZ 985783
Comment 3 Kaushal 2013-09-30 05:46:00 EDT
This is not in anyway related to quota.
There was a problem with starting remove-brick around the time the packages used were built. This caused all remove-brick start commands to fail. There was a bug filed for this (https://bugzilla.redhat.com/show_bug.cgi?id=982184) which was fixed, and the fix has been available since glusterfs- The original bug has been verified, and has been closed with ERRATA.

Moving this to ON_QA for verification, with fixed in version as glusterfs-
Comment 4 shylesh 2013-10-09 23:59:10 EDT
Verified on
Comment 5 krishnan parthasarathi 2013-11-18 02:02:10 EST
Since this bug was a side effect of https://bugzilla.redhat.com/show_bug.cgi?id=982184, I am not adding errata doc text to this bug. Does that make sense?
Comment 6 errata-xmlrpc 2013-11-27 10:29:20 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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