[Bugs] [Bug 1229251] New: Data Tiering; Need to change volume info details like type of volume and number of bricks when tier is attached to a EC(disperse) volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 8 10:31:44 UTC 2015


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

            Bug ID: 1229251
           Summary: Data Tiering; Need to change volume info details like
                    type of volume and number of bricks when tier is
                    attached to a EC(disperse) volume
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: tiering
          Keywords: Triaged
          Severity: medium
          Priority: urgent
          Assignee: rhs-bugs at redhat.com
          Reporter: nchilaka at redhat.com
        QA Contact: nchilaka at redhat.com
                CC: annair at redhat.com, bugs at gluster.org,
                    josferna at redhat.com, rkavunga at redhat.com
        Depends On: 1212019
            Blocks: 1186580 (qe_tracker_everglades)



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

Description of problem:
======================
When we attach a tier to an EC(disperse) volume, the number of bricks gets
totally skewed.
For eg, when the EC volume was created it shows as below:
Number of Bricks: 6 x (8 + 4) = 12
But when we attach a replica pair for tier layer, it converts this blindly
assuming all bricks are replica pairs as below:

Number of Bricks: 12 x 2 = 24

Also, the type should show as Tiered-Distributed-Disperse instead of just tier

Version-Release number of selected component (if applicable):
============================================================
[root at vertigo ~]# gluster --version
glusterfs 3.7dev built on Apr 13 2015 07:14:27
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 vertigo ~]# rpm -qa|grep gluster
glusterfs-server-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-rdma-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-regression-tests-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-resource-agents-3.7dev-0.994.gitf522001.el6.noarch
glusterfs-libs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-fuse-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-geo-replication-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-cli-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-extra-xlators-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-debuginfo-3.7dev-0.994.gitf522001.el6.x86_64


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


Steps to Reproduce:
===================
1.create a ec volume
[root at vertigo ~]# gluster v create rhatvol redundancy 4
vertigo:/rhs/brick1/rhatvol-1 ninja:/rhs/brick1/rhatvol-2
vertigo:/rhs/brick2/rhatvol-3 ninja:/rhs/brick2/rhatvol-4
vertigo:/rhs/brick3/rhatvol-5 ninja:/rhs/brick3/rhatvol-6
vertigo:/rhs/brick4/rhatvol-7 ninja:/rhs/brick4/rhatvol-8
vertigo:/rhs/brick1/rhatvol-9 ninja:/rhs/brick1/rhatvol-10
vertigo:/rhs/brick2/rhatvol-11 ninja:/rhs/brick2/rhatvol-12 force

2. issue a vol info as below:
Volume Name: rhatvol
Type: Disperse
Volume ID: e4594e70-9d75-47ce-b883-60d37cee989b
Status: Created
Number of Bricks: 1 x (8 + 4) = 12
Transport-type: tcp
Bricks:
Brick1: vertigo:/rhs/brick1/rhatvol-1
Brick2: ninja:/rhs/brick1/rhatvol-2
Brick3: vertigo:/rhs/brick2/rhatvol-3
Brick4: ninja:/rhs/brick2/rhatvol-4
Brick5: vertigo:/rhs/brick3/rhatvol-5
Brick6: ninja:/rhs/brick3/rhatvol-6
Brick7: vertigo:/rhs/brick4/rhatvol-7
Brick8: ninja:/rhs/brick4/rhatvol-8
Brick9: vertigo:/rhs/brick1/rhatvol-9
Brick10: ninja:/rhs/brick1/rhatvol-10
Brick11: vertigo:/rhs/brick2/rhatvol-11
Brick12: ninja:/rhs/brick2/rhatvol-12


3. Now attach a tier to this
Volume Name: rhatvol
Type: Tier
Volume ID: 7fe23f41-877a-4f37-a86a-5ea937bdf9d7
Status: Started
Number of Bricks: 12 x 2 = 24
Transport-type: tcp
Bricks:
Brick1: ninja:/rhs/brick1/testvol-tier
Brick2: vertigo:/rhs/brick1/testvol-tier
Brick3: vertigo:/rhs/brick1/testvol-1
Brick4: ninja:/rhs/brick1/testvol-2
Brick5: vertigo:/rhs/brick2/testvol-3
Brick6: ninja:/rhs/brick2/testvol-4
Brick7: vertigo:/rhs/brick3/testvol-5
Brick8: ninja:/rhs/brick3/testvol-6
Brick9: vertigo:/rhs/brick4/testvol-7
Brick10: ninja:/rhs/brick4/testvol-8
Brick11: vertigo:/rhs/brick1/testvol-9
Brick12: ninja:/rhs/brick1/testvol-10
Brick13: vertigo:/rhs/brick2/testvol-11
Brick14: ninja:/rhs/brick2/testvol-12
Brick15: interstellar:/rhs/brick1/testvol-11
Brick16: transformers:/rhs/brick1/testvol-12
Brick17: interstellar:/rhs/brick2/testvol-13
Brick18: transformers:/rhs/brick2/testvol-14
Brick19: interstellar:/rhs/brick1/testvol-15
Brick20: transformers:/rhs/brick1/testvol-16
Brick21: interstellar:/rhs/brick2/testvol-17
Brick22: transformers:/rhs/brick2/testvol-18
Brick23: interstellar:/rhs/brick1/testvol-19
Brick24: transformers:/rhs/brick1/testvol-20


It can be seen that number of bricks equaltion have changed to a wrong format
also, the volume type should show something like tier-disperse rather than just
tier

Actual results:
==============


It can be seen that number of bricks equaltion have changed to a wrong format
also, the volume type should show something like tier-disperse rather than just
tier

Expected results:
================
show the vol type as tier-disperse or tier-distributed-disperse 
also, show no. of bricks with ec equation and seperating out tier layer

--- Additional comment from Mohammed Rafi KC on 2015-04-23 07:19:54 EDT ---

upstream patch : http://review.gluster.org/#/c/10339/

--- Additional comment from Niels de Vos on 2015-05-15 09:07:27 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=1212019
[Bug 1212019] Data Tiering; Need to change volume info details like type of
volume and number of bricks when tier is attached to a EC(disperse) 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=5hbpdj9aHa&a=cc_unsubscribe


More information about the Bugs mailing list