[Bugs] [Bug 1311822] New: rebalance : output of rebalance status should show ' run time ' in proper format (day, hour:min:sec)

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 25 05:30:50 UTC 2016


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

            Bug ID: 1311822
           Summary: rebalance : output of rebalance status should show '
                    run time ' in proper format (day,hour:min:sec)
           Product: GlusterFS
           Version: 3.7.9
         Component: distribute
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: amukherj at redhat.com, bugs at gluster.org,
                    mzywusko at redhat.com, nbalacha at redhat.com,
                    racpatel at redhat.com, spalai at redhat.com,
                    storage-qa-internal at redhat.com, vbellur at redhat.com
        Depends On: 1223625



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

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

Description of problem:
rebalance status output shows run time in sec which is hard to read when no. is
big

e.g

[root at 7-VM1 core]#  gluster volume rebalance flat status
                                    Node Rebalanced-files          size      
scanned      failures       skipped         status run time in secs
                               ---------      -----------   -----------  
-----------   -----------   -----------   ------------   --------------
                               localhost           832000        13.7GB      
5344344             1           228         failed        159836.00
                            10.70.36.133          1009405        15.7GB      
5362837             2           206         failed        159836.00
                            10.70.36.132           823206        12.9GB      
5416604             1           233         failed        159836.00
                            10.70.36.131                0        0Bytes      
5227829             0             0         failed        159836.00
volume rebalance: flat: success: 

It's better to show output as '1 day, XX:XX:XX' or "Hour:min:sec" then
'5227829'

Version-Release number of selected component (if applicable):
============================================
3.4.0.44rhs-1.el6rhs.x86_64




Actual results:
run time is always displayed in sec.

Expected results:
Hour:min:Sec format is better than only seconds 

Additional info:

--- Additional comment from Anand Avati on 2015-05-21 00:26:29 EDT ---

REVIEW: http://review.gluster.org/10544 (dht: Output of rebalance to show run
time in proper format) posted (#3) for review on master by Sakshi Bansal
(sabansal at redhat.com)

--- Additional comment from Vijay Bellur on 2015-11-17 05:49:47 EST ---

REVIEW: http://review.gluster.org/10544 (cli : output of rebalance to show run
time in proper format) posted (#6) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-02-03 07:01:59 EST ---

REVIEW: http://review.gluster.org/10544 (cli: output of rebalance to show run
time in proper format) posted (#7) for review on master by Sakshi Bansal

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

COMMIT: http://review.gluster.org/10544 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 77245bcbf02754dec832ca34a9138bade2c9cfa3
Author: Sakshi <sabansal at redhat.com>
Date:   Tue May 5 10:55:56 2015 +0530

    cli: output of rebalance to show run time in proper format

    Change-Id: I775f13c8046dd2aeb9d4b86a737dcebb396778b4
    BUG: 1223625
    Signed-off-by: Sakshi Bansal <sabansal at redhat.com>
    Reviewed-on: http://review.gluster.org/10544
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1223625
[Bug 1223625] rebalance : output of rebalance status should show ' run time
' in proper format (day,hour:min:sec)
-- 
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