Bug 890640 - [FEAT] DHT - rebalance - rebalance status o/p should be different for 'fix-layout' option, it should not show 'Rebalanced-files' , 'Size', 'Scanned' etc as it is not migrating any files.
Summary: [FEAT] DHT - rebalance - rebalance status o/p should be different for 'fix-la...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: 2.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: Matt Zywusko
URL:
Whiteboard:
Depends On:
Blocks: 1286572
TreeView+ depends on / blocked
 
Reported: 2012-12-28 11:28 UTC by Rachana Patel
Modified: 2018-12-01 17:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1225718 1286572 (view as bug list)
Environment:
Last Closed: 2015-11-30 09:33:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2012-12-28 11:28:10 UTC
Description of problem:
 rebalance - rebalance status o/p should be different for 'fix-layout' option, it should not show 'Rebalanced-files' , 'Size', 'Scanned' etc as it is not migrating any files. it should show status of layout fixing.

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

How reproducible:
always

Steps to Reproduce:
1. Create a Distributed volume having 3 or more sub-volumes on multiple server and start that volume.

2. Fuse Mount the volume from the client-1 using “mount -t glusterfs  server:/<volume> <client-1_mount_point>”

3. From mount point create some dirs and files inside it.

4. Execute rebalance.
[root@localhost ~]# gluster volume rebalance defect fix-layout start
Starting rebalance on volume defect has been successful

5. check status
[root@localhost ~]# gluster volume rebalance defect status
                                    Node Rebalanced-files          size       scanned      failures         status
                               ---------      -----------   -----------   -----------   -----------   ------------
                               localhost                0            0            0            0      completed
                            10.70.35.173                0            0            0            0      completed
                            10.70.35.170                0            0            0            0      completed

  
Actual results:
it shows 'Rebalanced-files' , 'Size', 'Scanned' etc

Expected results:
When user has opted only fix-layout this values will be zero and no use of showing those column in status. It can show no of dir for which layout has been fixed or it can show simply status column only.

Additional info:

Comment 2 Scott Haines 2013-09-27 17:07:32 UTC
Targeting for 3.0.0 (Denali) release.

Comment 5 Vivek Agarwal 2014-04-07 11:41:13 UTC
Per bug triage, between dev, PM and QA, moving these out of denali

Comment 6 Nagaprasad Sathyanarayana 2014-05-06 10:35:12 UTC
BZs not targeted for Denali.

Comment 9 Susant Kumar Palai 2015-11-30 09:33:11 UTC
Cloning this to 3.1. To be fixed in future.


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