Bug 985812 - quota + remove-brick: remove brick fails to start
Summary: quota + remove-brick: remove brick fails to start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: 2.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Kaushal
QA Contact: Saurabh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 10:01 UTC by Saurabh
Modified: 2016-01-19 06:12 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.4.0.34rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 15:29:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1769 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #1 2013-11-27 20:17:39 UTC

Description Saurabh 2013-07-18 10:01:38 UTC
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
glusterfs-3.4.0.12rhs.beta4-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.12rhs.beta4-1.el6rhs.x86_64
glusterfs-server-3.4.0.12rhs.beta4-1.el6rhs.x86_64

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 10.70.37.180:/rhs/bricks/quota-d1r1-add 10.70.37.80:/rhs/bricks/quota-d1r2-add 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 10.70.37.180:/rhs/bricks/quota-d1r1-add 10.70.37.80:/rhs/bricks/quota-d1r2-add status
                                    Node Rebalanced-files          size       scanned      failures         status run-time in secs
                               ---------      -----------   -----------   -----------   -----------   ------------   --------------
                               localhost                0        0Bytes             0             0    not started             0.00
                            10.70.37.216                0        0Bytes          1028             0      completed             4.00
                             10.70.37.80                0        0Bytes          1028             0      completed             3.00
                            10.70.37.139                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 09:46:00 UTC
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-3.4.0.12rhs.beta6-1. 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-3.4.0.33rhs.

Comment 4 shylesh 2013-10-10 03:59:10 UTC
Verified on 3.4.0.34rhs-1.el6rhs.x86_64

Comment 5 krishnan parthasarathi 2013-11-18 07:02:10 UTC
Shanks,
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 15:29:20 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1769.html


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