[Bugs] [Bug 1229256] New: Incorrect and unclear "vol info" o/p for tiered volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 8 10:36:32 UTC 2015


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

            Bug ID: 1229256
           Summary: Incorrect and unclear "vol info" o/p for tiered volume
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: tiering
          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,
                    dlambrig at redhat.com, josferna at redhat.com,
                    nchilaka at redhat.com, rkavunga at redhat.com
        Depends On: 1214339



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

Description of problem:
Incorrect volume info on attaching tier to a disperse volume

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a disperse volume 
[root at dhcp35-56 ~]# gluster vol create vol2 disperse 6 redundancy 2
10.70.35.56:/rhs/brick1 10.70.35.67:/rhs/brick1 10.70.35.56:/rhs/brick2
10.70.35.67:/rhs/brick2 10.70.35.56:/rhs/brick3 10.70.35.67:/rhs/brick3 force

2.Attach a tier to this volume 
[root at dhcp35-56 ~]# gluster vol attach-tier vol2 replica 2
10.70.35.56:/rhs/brick4 10.70.35.67:/rhs/brick4  force
volume add-brick: success

3. Check the volume info 
Volume Name: vol2
Type: Tier
Volume ID: b267ba15-82df-4842-bd41-ac233592d5ba
Status: Created
Number of Bricks: 4 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: 10.70.35.67:/rhs/brick4
Brick2: 10.70.35.56:/rhs/brick4
Brick3: 10.70.35.56:/rhs/brick1
Brick4: 10.70.35.67:/rhs/brick1
Brick5: 10.70.35.56:/rhs/brick2
Brick6: 10.70.35.67:/rhs/brick2
Brick7: 10.70.35.56:/rhs/brick3
Brick8: 10.70.35.67:/rhs/brick3

Says "4 x 2 =8", which is incorrect. 

Additionally, the volume info should also show the sub components of the tiered
volume. In the above case, the user should be able to figure out that the
volume is a combination of disperse (cold) and replica (hot). Output should
also explicity tell the bricks in either tiers.

--- Additional comment from Dan Lambright on 2015-04-22 13:15:24 EDT ---

I believe this was fixed in a separate bug, assigning to Rafi to see.

--- Additional comment from Mohammed Rafi KC on 2015-04-23 01:26:03 EDT ---

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

--- Additional comment from Niels de Vos on 2015-05-15 09:07:30 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=1214339
[Bug 1214339] Incorrect and unclear "vol info" o/p for tiered 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=9tca2165HX&a=cc_unsubscribe


More information about the Bugs mailing list