[Bugs] [Bug 1265279] New: Data Tiering:Quota deamon is restarted when tier is detached (tier volume to regular vol conversion)

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 22 14:26:48 UTC 2015


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

            Bug ID: 1265279
           Summary: Data Tiering:Quota deamon is restarted when tier is
                    detached (tier volume to regular vol conversion)
           Product: GlusterFS
           Version: 3.7.4
         Component: tiering
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: nchilaka at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:
=========================
I created a tier volume and then enabled quotas. I then noted down the quota
deamon process IDs. On a detach tier commit, the quota deamons were killed and
restarted as below:
[root at zod glusterfs]# gluster v status iran
Status of volume: iran
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Hot Bricks:
Brick yarrow:/dummy/brick107/iran_hot       49297     0          Y       11353
Brick zod:/dummy/brick107/iran_hot          49325     0          Y       30785
Brick yarrow:/dummy/brick106/iran_hot       49296     0          Y       11373
Brick zod:/dummy/brick106/iran_hot          49324     0          Y       30803
Cold Bricks:
Brick zod:/dummy/brick101/iran              49321     0          Y       30821
Brick yarrow:/dummy/brick101/iran           49293     0          Y       11392
Brick zod:/dummy/brick102/iran              49322     0          Y       30839
Brick yarrow:/dummy/brick102/iran           49294     0          Y       11413
Brick zod:/dummy/brick103/iran              49323     0          Y       30857
Brick yarrow:/dummy/brick103/iran           49295     0          Y       11431
NFS Server on localhost                     2049      0          Y       30884
Quota Daemon on localhost                   N/A       N/A        Y       30893
NFS Server on yarrow                        2049      0          Y       11541
Quota Daemon on yarrow                      N/A       N/A        Y       11552

Task Status of Volume iran
------------------------------------------------------------------------------
Task                 : Remove brick        
ID                   : e4b0cd33-5e43-49d1-b5f6-5d558e1a9cf7
Removed bricks:     
zod:/dummy/brick106/iran_hot
yarrow:/dummy/brick106/iran_hot
zod:/dummy/brick107/iran_hot
yarrow:/dummy/brick107/iran_hot
Status               : completed           

[root at zod glusterfs]# gluster v detach-tier iran
Usage: volume detach-tier <VOLNAME>  <start|stop|status|commit|[force]>
Tier command failed
[root at zod glusterfs]# gluster v detach-tier iran commit
volume detach-tier commit: success
Check the detached bricks to ensure all files are migrated.
If files with data are found on the brick path, copy them via a gluster mount
point before re-purposing the removed brick. 
[root at zod glusterfs]# gluster v detach-tier iran status
volume detach-tier status: failed: volume iran is not a tier volume.
Tier command failed
[root at zod glusterfs]# gluster v status iran
Status of volume: iran
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick zod:/dummy/brick101/iran              49321     0          Y       30821
Brick yarrow:/dummy/brick101/iran           49293     0          Y       11392
Brick zod:/dummy/brick102/iran              49322     0          Y       30839
Brick yarrow:/dummy/brick102/iran           49294     0          Y       11413
Brick zod:/dummy/brick103/iran              49323     0          Y       30857
Brick yarrow:/dummy/brick103/iran           49295     0          Y       11431
NFS Server on localhost                     2049      0          Y       31140
Self-heal Daemon on localhost               N/A       N/A        Y       31148
Quota Daemon on localhost                   N/A       N/A        Y       31156
NFS Server on yarrow                        2049      0          Y       11709
Self-heal Daemon on yarrow                  N/A       N/A        Y       11717
Quota Daemon on yarrow                      N/A       N/A        Y       11725

Task Status of Volume iran
------------------------------------------------------------------------------
There are no active volume tasks






Version-Release number of selected component (if applicable):
==========================================================
[root at zod glusterfs]# rpm -qa|grep gluster
glusterfs-3.7.4-0.43.gitf139283.el7.centos.x86_64
glusterfs-fuse-3.7.4-0.43.gitf139283.el7.centos.x86_64
glusterfs-debuginfo-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-api-3.7.4-0.43.gitf139283.el7.centos.x86_64
glusterfs-client-xlators-3.7.4-0.43.gitf139283.el7.centos.x86_64
glusterfs-server-3.7.4-0.43.gitf139283.el7.centos.x86_64
glusterfs-cli-3.7.4-0.43.gitf139283.el7.centos.x86_64
gglusterfs-libs-3.7.4-0.43.gitf139283.el7.centos.x86_64
l[root at zod glusterfs]# gluster --version
glusterfs 3.7.4 built on Sep 19 2015 01:30:43
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.



Steps to Reproduce:
===================
1.create a tier volume
2. on tier vol enable quotas and not down PIDs of quota demaons
3. detach tier start and commit detach tier
4. Once tier is detached completely, quota deamon can be seen as restarted

-- 
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