Bug 1764119 - gluster rebalance status doesn't show detailed information when a node is rebooted
Summary: gluster rebalance status doesn't show detailed information when a node is reb...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On: 1761326
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-22 09:37 UTC by Sanju
Modified: 2019-11-12 06:17 UTC (History)
7 users (show)

Fixed In Version:
Clone Of: 1761326
Environment:
Last Closed: 2019-11-12 06:17:42 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23588 0 None Merged cli: display detailed rebalance info 2019-11-12 06:17:41 UTC

Comment 1 Sanju 2019-10-22 09:40:12 UTC
Description of problem:
=================
when a rebalance is in progress, we can see the detailed info as below
[root@rhs-gp-srv11 glusterfs]# gluster v rebal ctime-distrep-rebal status
                                    Node Rebalanced-files          size       scanned      failures       skipped               status  run time in h:m:s
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                                server2                0        0Bytes             0             0             0          in progress        0:00:00
                                server3              6744        73.7MB         48580             0             0          in progress        0:04:41
                               localhost             6209        97.5MB         45174             0             0          in progress        0:04:41
The estimated time for rebalance to complete will be unavailable for the first 10 minutes.
volume rebalance: ctime-distrep-rebal: success


However, while a node is rebooted, we are unable to see above such info, it only displays as below
[root@rhs-gp-srv11 glusterfs]# gluster v rebal ctime-distrep-rebal status
volume rebalance: ctime-distrep-rebal: success


This is a problem if a user wants to know the exact files that have got rebalanced and how many have failed

Version-Release number of selected component (if applicable):
=============
mainline

How reproducible:
=============
consistent

Steps to Reproduce:
1. create a 3x3 volume
2. do some IOs from client
3. issue a remove-brick to make it 2x3
4. while rebalance is happening do a reboot of one of the nodes

Actual results:
================
reblance status doesnt show detailed info

Expected results:
=============
need detailed info even if a node is rebooted

Comment 2 Worker Ant 2019-10-22 11:29:25 UTC
REVIEW: https://review.gluster.org/23588 (cli: display detailed rebalance info) posted (#1) for review on master by Sanju Rakonde

Comment 3 Worker Ant 2019-11-12 06:17:42 UTC
REVIEW: https://review.gluster.org/23588 (cli: display detailed rebalance info) merged (#4) on master by Atin Mukherjee


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