[Bugs] [Bug 1214666] New: Data Tiering:command prompt hangs when fetching quota list of a tiered volume

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 23 10:49:26 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1214666

            Bug ID: 1214666
           Summary: Data Tiering:command prompt hangs when fetching quota
                    list of a tiered volume
           Product: GlusterFS
           Version: mainline
         Component: tiering
          Severity: urgent
          Assignee: bugs at gluster.org
          Reporter: nchilaka at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:
======================
When we enable a quota on a regular volume and then attach a tier, and then try
to list quota settings on this tiered volume, the command prompt hangs
indefinitely 


Version-Release number of selected component (if applicable):
============================================================
[root at zod ~]# gluster --version
glusterfs 3.7dev built on Apr 17 2015 14:27:16
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at zod ~]# rpm -qa|grep gluster
glusterfs-api-3.7dev-0.1009.git8b987be.el7.centos.x86_64
glusterfs-cli-3.7dev-0.1009.git8b987be.el7.centos.x86_64
glusterfs-3.7dev-0.1009.git8b987be.el7.centos.x86_64
glusterfs-server-3.7dev-0.1009.git8b987be.el7.centos.x86_64
glusterfs-fuse-3.7dev-0.1009.git8b987be.el7.centos.x86_64
glusterfs-libs-3.7dev-0.1009.git8b987be.el7.centos.x86_64

Steps to Reproduce:
==================
1.create a regular volume
2.enable quota on the volume
3.attach a tier to this volume to make it tier volume
4. now issue a "gluster v quota vol3 list" to display quota settings,
it can be seen that the command prompt freezes indefinitely, till the user
intervenes with ctrl+c as below
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
^C




Expected results:
================
should be able to get quota settings even for tierd volume

Additional info:
================
[root at zod ~]# gluster v create vol3 replica 2 10.70.35.144:/brick_100G_1/vol3
yarrow.lab.eng.blr.redhat.com:/brick_100G_1/vol3
10.70.35.144:/brick_100G_2/vol3
yarrow.lab.eng.blr.redhat.com:/brick_100G_2/vol3 force
volume create: vol3: success: please start the volume to access data
[root at zod ~]# gluster v start vol3
volume start: vol3: success
[root at zod ~]# gluster v info vol3

Volume Name: vol3
Type: Distributed-Replicate
Volume ID: f324afbd-390c-434c-b0f1-d9222218014a
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.35.144:/brick_100G_1/vol3
Brick2: yarrow.lab.eng.blr.redhat.com:/brick_100G_1/vol3
Brick3: 10.70.35.144:/brick_100G_2/vol3
Brick4: yarrow.lab.eng.blr.redhat.com:/brick_100G_2/vol3

[root at zod ~]# gluster v quota vol3 enable 
glvolume quota : success

[root at zod ~]# gluster v set vol3 features.uss on
volume set: success

[root at zod ~]# gluster v info vol3

Volume Name: vol3
Type: Distributed-Replicate
Volume ID: f324afbd-390c-434c-b0f1-d9222218014a
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.35.144:/brick_100G_1/vol3
Brick2: yarrow.lab.eng.blr.redhat.com:/brick_100G_1/vol3
Brick3: 10.70.35.144:/brick_100G_2/vol3
Brick4: yarrow.lab.eng.blr.redhat.com:/brick_100G_2/vol3
Options Reconfigured:
features.uss: on
features.quota: on
[root at zod ~]# gluster v quota vol3 list
quota: No quota configured on volume vol3

[root at zod ~]# gluster v quota vol3 limit-usage / 20GB
volume quota : success
[root at zod ~]# gluster v quota vol3 limit-usage / 20GB 90%
volume quota : success
[root at zod ~]# gluster v quota vol3 list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                         20.0GB       90%      0Bytes  20.0GB 
            No                   No
[root at zod ~]# gluster v quota vol3 list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                         20.0GB       90%     200.6MB  19.8GB 
            No                   No
[root at zod ~]# 
[root at zod ~]# 
[root at zod ~]# gluster v attach-tier vol3 replica 2
moonshine.lab.eng.blr.redhat.com:/ssdbricks_75G_1/vol3 
yarrow.lab.eng.blr.redhat.com:/ssdbricks_75G_1/vol3
moonshine.lab.eng.blr.redhat.com:/ssdbricks_75G_2/vol3
yarrow.lab.eng.blr.redhat.com:/ssdbricks_75G_2/vol3 force
volume add-brick: success
[root at zod ~]# gluster v quota vol3 list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
^C
[root at zod ~]# gluster v detach-tier vol3
volume remove-brick unknown: success
[root at zod ~]# gluster v quota vol3 list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                         20.0GB       90%       1.2GB  18.8GB 
            No                   No
[root at zod ~]# gluster v info vol3

Volume Name: vol3
Type: Distributed-Replicate
Volume ID: f324afbd-390c-434c-b0f1-d9222218014a
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.35.144:/brick_100G_1/vol3
Brick2: yarrow.lab.eng.blr.redhat.com:/brick_100G_1/vol3
Brick3: 10.70.35.144:/brick_100G_2/vol3
Brick4: yarrow.lab.eng.blr.redhat.com:/brick_100G_2/vol3
Options Reconfigured:
features.uss: on
features.quota: on

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list