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:
Targeting for 3.0.0 (Denali) release.
Per bug triage, between dev, PM and QA, moving these out of denali
BZs not targeted for Denali.
Cloning this to 3.1. To be fixed in future.