[Bugs] [Bug 1229245] New: Data Tiering:Replica type volume not getting converted to tier type after attaching tier

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


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

            Bug ID: 1229245
           Summary: Data Tiering:Replica type volume not getting converted
                    to tier type after attaching tier
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: tiering
          Keywords: Triaged
          Severity: high
          Priority: high
          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: 1208386
            Blocks: 1186580 (qe_tracker_everglades)



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

Description of problem:
=====================
Attaching a tier to a replica volume is not getting converted to a tier-replica
volume.
Instead it is just getting converted to dist-rep volume with no tier gfid
issued for each brick


Version-Release number of selected component (if applicable):
===========================================================
upstream nightly
glusterfs 3.7dev built on Mar 31 2015 01:05:54
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.



How reproducible:
===============
easily


Steps to Reproduce:
==================
1.create a pure replica volume with two bricks which are replica of each other
ie 1x2
2.now attach a tier to it
3.the volume should now get converted to tier-dist-rep volume but is getting
converted to just dist-rep vol

Actual results:
==============
the volume should now get converted to tier-dist-rep volume but is getting
converted to just dist-rep vol

Expected results:
================
support replica volume to be converted to tier type


Additional info(cli):
=================
[root at interstellar ~]# gluster v create replica replica 2
interstellar:/pavanbrick1/replica/b1 transformers:/pavanbrick1/replica/b1
volume create: replica: success: please start the volume to access data
[root at interstellar ~]# gluster v start replica
volume start: replica: success
[root at interstellar ~]# gluster v status replica
Status of volume: replica
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick interstellar:/pavanbrick1/replica/b1  49155     0          Y       62403
Brick transformers:/pavanbrick1/replica/b1  49154     0          Y       21852
NFS Server on localhost                     2049      0          Y       62423
Self-heal Daemon on localhost               N/A       N/A        Y       62431
NFS Server on transformers.lab.eng.blr.redh
at.com                                      2049      0          Y       21876
Self-heal Daemon on transformers.lab.eng.bl
r.redhat.com                                N/A       N/A        Y       21883

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

[root at interstellar ~]# gluster v status replica
Status of volume: replica
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick interstellar:/pavanbrick1/replica/b1  49155     0          Y       62403
Brick transformers:/pavanbrick1/replica/b1  49154     0          Y       21852
NFS Server on localhost                     2049      0          Y       62423
Self-heal Daemon on localhost               N/A       N/A        Y       62431
NFS Server on transformers.lab.eng.blr.redh
at.com                                      2049      0          Y       21876
Self-heal Daemon on transformers.lab.eng.bl
r.redhat.com                                N/A       N/A        Y       21883

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

[root at interstellar ~]# gluster v info replica

Volume Name: replica
Type: Replicate
Volume ID: 6b567ac5-370f-4ed1-876d-bb8c7bd1f589
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: interstellar:/pavanbrick1/replica/b1
Brick2: transformers:/pavanbrick1/replica/b1
[root at interstellar ~]# gluster v attach-tier replica
interstellar:/pavanbrick2/replica/hb1 transformers:/pavanbrick2/replica/hb1
volume add-brick: success
[root at interstellar ~]# gluster v status replica
Status of volume: replica
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick transformers:/pavanbrick2/replica/hb1 49155     0          Y       22084
Brick interstellar:/pavanbrick2/replica/hb1 49156     0          Y       62620
Brick interstellar:/pavanbrick1/replica/b1  49155     0          Y       62403
Brick transformers:/pavanbrick1/replica/b1  49154     0          Y       21852
NFS Server on localhost                     2049      0          Y       62638
Self-heal Daemon on localhost               N/A       N/A        Y       62646
NFS Server on transformers.lab.eng.blr.redh
at.com                                      2049      0          Y       22102
Self-heal Daemon on transformers.lab.eng.bl
r.redhat.com                                N/A       N/A        Y       22110

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

[root at interstellar ~]# gluster v info replica

Volume Name: replica
Type: Distributed-Replicate
Volume ID: 6b567ac5-370f-4ed1-876d-bb8c7bd1f589
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: transformers:/pavanbrick2/replica/hb1
Brick2: interstellar:/pavanbrick2/replica/hb1
Brick3: interstellar:/pavanbrick1/replica/b1
Brick4: transformers:/pavanbrick1/replica/b1
[root at interstellar ~]# 





[root at transformers samba]# getfattr -d -e hex -m . /pavanbrick2/replica/hb1/
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick2/replica/hb1/
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.volume-id=0x6b567ac5370f4ed1876dbb8c7bd1f589

[root at transformers samba]# getfattr -d -e hex -m . /pavanbrick1/replica/b1/
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick1/replica/b1/
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.dht=0x000000010000000000000000ffffffff
trusted.glusterfs.volume-id=0x6b567ac5370f4ed1876dbb8c7bd1f589

[root at transformers samba]# gluster --version
glusterfs 3.7dev built on Mar 31 2015 01:05:54
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 transformers samba]# 





[root at interstellar samba]# getfattr -d -e hex -m . /pavanbrick2/replica/hb1/
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick2/replica/hb1/
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.volume-id=0x6b567ac5370f4ed1876dbb8c7bd1f589

[root at interstellar samba]# getfattr -d -e hex -m . /pavanbrick1/replica/b1/
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick1/replica/b1/
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.dht=0x000000010000000000000000ffffffff
trusted.glusterfs.volume-id=0x6b567ac5370f4ed1876dbb8c7bd1f589

[root at interstellar samba]# gluster --version
glusterfs 3.7dev built on Mar 31 2015 01:05:54
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 interstellar samba]#

--- Additional comment from Dan Lambright on 2015-04-21 14:40:49 EDT ---

This problem is similar to bug 1207204, it was fixed by 10054- the new volume
name is "tier" after the attach occurs. 

The gluster v info will be updated and this is being track separately by bug
1206546.

--- Additional comment from Niels de Vos on 2015-05-15 09:07:38 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=1208386
[Bug 1208386] Data Tiering:Replica type volume not getting converted to
tier type after attaching tier
-- 
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=hEnvU5m9uA&a=cc_unsubscribe


More information about the Bugs mailing list