Description of problem: gluster volume rebalance <volname> force (without start) says rebalance started successfully on said volume. But after that gluster rebalance status says rebalance not started. Version-Release number of selected component (if applicable): glusterfs-3.3.0qa32 How reproducible: Consistent Steps to Reproduce: 1. Create and start a single node distribute volume. 2. Create some data on the mountpoint and then add one more brick to the volume. 3. Now run 'gluster v reb <volname> force' (without start keyword) 4. It says 'rebalance started'. Now run rebalance status. Actual results: [root@QA-25 /]# gluster v reb hosdu force Starting rebalance on volume hosdu has been successful [root@QA-25 /]# gluster v reb hosdu status Node Rebalanced-files size scanned status --------- ----------- ----------- ----------- ------------ 9c3b029d-ed4a-4e92-b580-7e6cac951d67 0 0 0 not started 4237f3b2-04b3-41d9-9080-ba51fb884fdd 0 0 0 not started b9186b17-bf82-4266-b689-9ebe5474d10e 0 0 0 not started 62dc2b19-cce5-4e41-a45e-bf36411a4da4 0 0 0 not started [root@QA-25 /]# gluster v reb hosdu status Node Rebalanced-files size scanned status --------- ----------- ----------- ----------- ------------ 9c3b029d-ed4a-4e92-b580-7e6cac951d67 0 0 0 not started 4237f3b2-04b3-41d9-9080-ba51fb884fdd 0 0 0 not started b9186b17-bf82-4266-b689-9ebe5474d10e 0 0 0 not started 62dc2b19-cce5-4e41-a45e-bf36411a4da4 0 0 0 not started [root@QA-25 /]# Expected results: Ideally it should have one of the following behavior. 1. rebalance command without the start keyword should not start the rebalance and should display the same when that command is issued. OR 2. Since there is no other rebalance operations which has force keyword, rebalance can be started. But in that case the rebalance status should output the proper results.
Can you please archive glusterd/rebalance process logs?
CHANGE: http://review.gluster.com/3064 (cli/rebalance: Fix parse error for volume rebalance cmd) merged in master by Vijay Bellur (vijay)
Now rebalance force without the start gives me usage message. [root@QA-29 ~]# gluster volume rebalance hosdu force Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]
The same behavior observed with 3.12. Gluster log shows fix-layout is being done but the speed is really slow. It looks like it may take months to finish fix-layout. Is there any way to fix the status mismatch?
(In reply to Qigang from comment #4) > The same behavior observed with 3.12. Gluster log shows fix-layout is being > done but the speed is really slow. It looks like it may take months to > finish fix-layout. Is there any way to fix the status mismatch? This BZ has been closed. Please file a new one with the required information.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days