[Bugs] [Bug 1352393] New: [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.

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 4 05:42:05 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1352393

            Bug ID: 1352393
           Summary: [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.
           Product: GlusterFS
           Version: 3.8.0
         Component: distribute
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: bugs at gluster.org, kramdoss at redhat.com,
                    mzywusko at redhat.com, nbalacha at redhat.com,
                    racpatel at redhat.com, rhs-bugs at redhat.com,
                    sankarshan at redhat.com, vbellur at redhat.com
        Depends On: 1225718



+++ This bug was initially created as a clone of Bug #1225718 +++

+++ 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 at localhost ~]# gluster volume rebalance defect fix-layout start
Starting rebalance on volume defect has been successful

5. check status
[root at 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.

--- Additional comment from Anand Avati on 2015-05-28 02:01:03 EDT ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
'fix-layout' option) posted (#1) for review on master by Sakshi Bansal
(sabansal at redhat.com)

--- Additional comment from Anand Avati on 2015-09-01 08:37:11 EDT ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
'fix-layout' option) posted (#4) for review on master by Sakshi Bansal
(sabansal at redhat.com)

--- Additional comment from Vijay Bellur on 2016-01-14 02:45:26 EST ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
'fix-layout' option) posted (#5) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-01-28 01:19:20 EST ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
fix-layout option) posted (#6) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-02-25 02:41:30 EST ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
fix-layout option) posted (#7) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-03-06 23:51:24 EST ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
rebalance fix-layout) posted (#8) for review on master by Sakshi Bansal

--- Additional comment from Mike McCune on 2016-03-28 19:31:34 EDT ---

This bug was accidentally moved from POST to MODIFIED via an error in
automation, please see mmccune at redhat.com with any questions

--- Additional comment from Vijay Bellur on 2016-04-07 02:39:14 EDT ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
rebalance fix-layout) posted (#9) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-04-12 01:20:17 EDT ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
rebalance fix-layout) posted (#10) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-04-18 11:48:28 EDT ---

REVIEW: http://review.gluster.org/10956 (cli: different status output for
rebalance fix-layout) posted (#11) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-07-04 01:39:21 EDT ---

COMMIT: http://review.gluster.org/10956 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 1b420a3f695a755c6a45b3b74d28c41f7a2d943b
Author: Sakshi <sabansal at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/10956
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1225718
[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.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list