Bug 1289017 - Failed to show rebalance status if the volume name has 'tier' substring
Summary: Failed to show rebalance status if the volume name has 'tier' substring
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tier
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHGS 3.1.2
Assignee: Bug Updates Notification Mailing List
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On:
Blocks: 1260783
TreeView+ depends on / blocked
 
Reported: 2015-12-07 09:04 UTC by Arthy Loganathan
Modified: 2016-09-17 15:35 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.7.5-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-01 06:01:15 UTC
Embargoed:


Attachments (Terms of Use)
server logs (34.55 KB, application/vnd.oasis.opendocument.text)
2015-12-22 04:15 UTC, Sweta Anandpara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description Arthy Loganathan 2015-12-07 09:04:33 UTC
Description of problem:
Failed to show rebalance status if the volume name has 'tier' substring

Version-Release number of selected component (if applicable):
glusterfs-server-3.7.5-8.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a volume with volume name tiervol
2. Start the rebalance on volume
3. Do gluster volume rebalance status.

Actual results:
Rebalance status should be displayed.

Expected results:
Errorring out with the message, "volume rebalance: tiervol: failed: volume tiervol is not a tier volume."

Additional info:
[root@node71 ~]# gluster vol info
 
Volume Name: tiervol
Type: Distributed-Replicate
Volume ID: 4a458535-e1d4-4e54-b4fd-47661cb9d0b5
Status: Created
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.46.236:/bricks/brick0/tiervol_brick0
Brick2: 10.70.46.203:/bricks/brick0/tiervol_brick1
Brick3: 10.70.46.236:/bricks/brick1/tiervol_brick2
Brick4: 10.70.46.203:/bricks/brick1/tiervol_brick3
Options Reconfigured:
performance.readdir-ahead: on
[root@node71 ~]# 

[root@node71 ~]# gluster volume rebalance tiervol fix-layout start
volume rebalance: tiervol: success: Rebalance on tiervol has been started successfully. Use rebalance status command to check status of the rebalance process.
ID: 6e12d9ff-57f5-4a5f-bd06-2afd2cf984e1

[root@node71 ~]# gluster volume rebalance tiervol status
volume rebalance: tiervol: failed: volume tiervol is not a tier volume.
[root@node71 ~]#

Comment 2 hari gowtham 2015-12-07 10:19:33 UTC
This patch will be fixed by the patch mentioned below.

http://review.gluster.org/#/c/12883/ (upstream)

Comment 4 hari gowtham 2015-12-17 12:52:53 UTC
The Downstream patch for that is:
https://code.engineering.redhat.com/gerrit/#/c/63889/
(Merged)

Comment 5 Sweta Anandpara 2015-12-22 04:13:46 UTC
Tested and verified this on the build glusterfs-3.7.5-12.el7rhgs.x86_64

Tried out different combinations of volume name (with tier substring in it) and performed a rebalance, which worked as expected. 

Moving this bug to verified in 3.0.2. Detailed logs are attached!

Comment 6 Sweta Anandpara 2015-12-22 04:15:02 UTC
Created attachment 1108557 [details]
server logs

Comment 8 errata-xmlrpc 2016-03-01 06:01:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html


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