Bug 1214339 - Incorrect and unclear "vol info" o/p for tiered volume
Summary: Incorrect and unclear "vol info" o/p for tiered volume
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ---
Assignee: Mohammed Rafi KC
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1229256 1260923
TreeView+ depends on / blocked
 
Reported: 2015-04-22 13:30 UTC by Anoop
Modified: 2018-10-08 09:52 UTC (History)
3 users (show)

Fixed In Version: glusterfs-4.1.4
Clone Of:
: 1229256 (view as bug list)
Environment:
Last Closed: 2018-10-08 09:52:34 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anoop 2015-04-22 13:30:15 UTC
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@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@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.

Comment 1 Dan Lambright 2015-04-22 17:15:24 UTC
I believe this was fixed in a separate bug, assigning to Rafi to see.

Comment 2 Mohammed Rafi KC 2015-04-23 05:26:03 UTC
upstream patch : http://review.gluster.org/#/c/10339/

Comment 3 Niels de Vos 2015-05-15 13:07:30 UTC
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.

Comment 4 Amar Tumballi 2018-10-08 09:52:34 UTC
This bug was ON_QA status, and on GlusterFS product in bugzilla, we don't have that as a valid status. We are closing it as 'CURRENT RELEASE ' to indicate the availability of the fix, please reopen if found again.


Note You need to log in before you can comment on or make changes to this bug.