Bug 1225718 - [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 CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Atin Mukherjee
QA Contact:
URL:
Whiteboard: dht-rebalance-usability
Depends On:
Blocks: 1352393
TreeView+ depends on / blocked
 
Reported: 2015-05-28 05:14 UTC by Sakshi
Modified: 2017-03-27 18:20 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.9.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 890640
: 1352393 (view as bug list)
Environment:
Last Closed: 2017-03-27 18:20:24 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sakshi 2015-05-28 05:14:55 UTC
+++ This bug was initially created as a clone of Bug #890640 +++

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:

--- Additional comment from Scott Haines on 2013-09-27 13:07:32 EDT ---

Targeting for 3.0.0 (Denali) release.

--- Additional comment from Vivek Agarwal on 2014-04-07 07:41:13 EDT ---

Per bug triage, between dev, PM and QA, moving these out of denali

--- Additional comment from Nagaprasad Sathyanarayana on 2014-05-06 06:35:12 EDT ---

BZs not targeted for Denali.

Comment 1 Anand Avati 2015-05-28 06:01:03 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for 'fix-layout' option) posted (#1) for review on master by Sakshi Bansal (sabansal)

Comment 2 Anand Avati 2015-09-01 12:37:11 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for 'fix-layout' option) posted (#4) for review on master by Sakshi Bansal (sabansal)

Comment 3 Vijay Bellur 2016-01-14 07:45:26 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for 'fix-layout' option) posted (#5) for review on master by Sakshi Bansal

Comment 4 Vijay Bellur 2016-01-28 06:19:20 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for fix-layout option) posted (#6) for review on master by Sakshi Bansal

Comment 5 Vijay Bellur 2016-02-25 07:41:30 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for fix-layout option) posted (#7) for review on master by Sakshi Bansal

Comment 6 Vijay Bellur 2016-03-07 04:51:24 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for rebalance fix-layout) posted (#8) for review on master by Sakshi Bansal

Comment 7 Mike McCune 2016-03-28 23:31:34 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 Vijay Bellur 2016-04-07 06:39:14 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for rebalance fix-layout) posted (#9) for review on master by Sakshi Bansal

Comment 9 Vijay Bellur 2016-04-12 05:20:17 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for rebalance fix-layout) posted (#10) for review on master by Sakshi Bansal

Comment 10 Vijay Bellur 2016-04-18 15:48:28 UTC
REVIEW: http://review.gluster.org/10956 (cli: different status output for rebalance fix-layout) posted (#11) for review on master by Sakshi Bansal

Comment 11 Vijay Bellur 2016-07-04 05:39:21 UTC
COMMIT: http://review.gluster.org/10956 committed in master by Raghavendra G (rgowdapp) 
------
commit 1b420a3f695a755c6a45b3b74d28c41f7a2d943b
Author: Sakshi <sabansal>
Date:   Thu May 28 11:23:55 2015 +0530

    cli: different status output for rebalance fix-layout
    
    Change-Id: I6ded40a1b1cff5c72e5b61fd353db3d8c688efd8
    BUG: 1225718
    Signed-off-by: Sakshi <sabansal>
    Reviewed-on: http://review.gluster.org/10956
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 14 Shyamsundar 2017-03-27 18:20:24 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.9.0, please open a new bug report.

glusterfs-3.9.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/


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