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

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 8 10:37:08 UTC 2015


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

            Bug ID: 1229259
           Summary: Data Tiering:command prompt hangs when fetching quota
                    list of a tiered volume
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: tiering
          Severity: urgent
          Priority: urgent
          Assignee: rhs-bugs at redhat.com
          Reporter: nchilaka at redhat.com
        QA Contact: nchilaka at redhat.com
                CC: bugs at gluster.org, dlambrig at redhat.com,
                    josferna at redhat.com
        Depends On: 1214219, 1214222, 1214666, 1224077, 1219048, 1219848,
                    1224075
            Blocks: 1186580 (qe_tracker_everglades)



+++ This bug was initially created as a clone of Bug #1214666 +++

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

--- Additional comment from Joseph Elwin Fernandes on 2015-05-01 02:39:36 EDT
---

This bug depends on these bugs to be fixed

bug 1214219: Data Tiering:Enabling quota command fails with "quota command
failed : Commit failed on localhost"
http://review.gluster.org/10474 
This will fix the hang that is caused due to incorrect graph built in vol file
of quotad


bug 1214222: Directories are missing on the mount point after attaching tier to
distribute replicate volume. 
http://review.gluster.org/10363 
This will fix the disappearing of the directories, and hence disappearing of
the qouta list, when a tier is attached.

--- Additional comment from Niels de Vos on 2015-05-15 09:07:42 EDT ---

This change should not be in "ON_QA", the patch posted for this bug is only
available in the master branch and not in a release yet. Moving back to
MODIFIED until there is an beta release for the next GlusterFS version.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1186580
[Bug 1186580] QE tracker bug for Everglades
https://bugzilla.redhat.com/show_bug.cgi?id=1214219
[Bug 1214219] Data Tiering:Enabling quota command fails with "quota command
failed : Commit failed on localhost"
https://bugzilla.redhat.com/show_bug.cgi?id=1214222
[Bug 1214222] Directories are missing on the mount point after attaching
tier to distribute replicate volume.
https://bugzilla.redhat.com/show_bug.cgi?id=1214666
[Bug 1214666] Data Tiering:command prompt hangs when fetching quota list of
a tiered volume
https://bugzilla.redhat.com/show_bug.cgi?id=1219048
[Bug 1219048] Data Tiering:Enabling quota command fails with "quota command
failed : Commit failed on localhost"
https://bugzilla.redhat.com/show_bug.cgi?id=1219848
[Bug 1219848] Directories are missing on the mount point after attaching
tier to distribute replicate volume.
https://bugzilla.redhat.com/show_bug.cgi?id=1224075
[Bug 1224075] Directories are missing on the mount point after attaching
tier to distribute replicate volume.
https://bugzilla.redhat.com/show_bug.cgi?id=1224077
[Bug 1224077] Directories are missing on the mount point after attaching
tier to distribute replicate volume.
-- 
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=I3qX4ZfhbB&a=cc_unsubscribe


More information about the Bugs mailing list