Bug 1380598 - RFE: An administrator friendly way to determine rebalance completion time
Summary: RFE: An administrator friendly way to determine rebalance completion time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.0
Assignee: Nithya Balachandran
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On: 1396004 1415915
Blocks: 1369781 1417138 1417145 1436681
TreeView+ depends on / blocked
 
Reported: 2016-09-30 04:42 UTC by Alok
Modified: 2020-12-14 07:46 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.8.4-24
Doc Type: Enhancement
Doc Text:
The 'gluster volume $volname rebalance status' command now provides an estimate of the time left to rebalance completion. Note that calculations are based on each brick having its own file system partition, and will be more accurate the larger the data set.
Clone Of:
: 1396004 1436681 (view as bug list)
Environment:
Last Closed: 2017-09-21 04:28:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Description Alok 2016-09-30 04:42:20 UTC
Description of problem: There is no single command with which an administrator can measure the time to complete rebalance.

Expectation: Enhance "gluster vol vol-name rebalance status" command output to display the approximate time to complete rebalance.

Comment 4 Atin Mukherjee 2017-02-20 13:04:30 UTC
upstream patch : http://review.gluster.org/15893

Comment 6 Atin Mukherjee 2017-03-24 09:12:47 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101294/

@Nithya - As per our discussion, I guess you'd also want to enhance this feature by a bit more. I'm not moving this bug to MODIFIED till I hear from you.

Comment 10 Prasad Desala 2017-04-25 11:14:16 UTC
Tested this BZ against glusterfs version 3.8.4-23.el7.x86_64. 
When triggered add-brick rebalance or remove-brick, "gluster vol vol-name rebalance status" is not displaying the approximate time to complete the rebalance.

Moving this BZ to Assigned state.

Comment 13 Atin Mukherjee 2017-04-25 13:10:35 UTC
Issue has been RCAed and it was due to git merge behaving oddly or probably a manual mistake of resolving merge conflicts. A piece of code where volinfo.rebal.time_left was populated with the calculated time left was missed out and hence in cli parsing it was always coming as zero and as per the logic if the estimated rebalance time left is 0 nothing additional is shown up.

https://code.engineering.redhat.com/gerrit/104300

Comment 15 Prasad Desala 2017-04-27 11:10:52 UTC
Verified this BZ on glusterfs version 3.8.4-24.el7rhgs.x86_64.

Now, we are seeing rebalance estimated time during add-brick rebalance and remove-brick operation. Tested with a file count of 70k for which add-brick rebalance and remove-brick took appx 18 minutes to complete, I observed that the rebalance estimated time it is showing is very inaccurate like as mentioned in Comment 8.

As the very basic add-brick and remove-brick two cases are displaying the rebalance est time, I am moving this BZ to Verified state. Will open a new BZ if seen any issues wrt rebalance estimation time during functional testing.

Comment 18 Nithya Balachandran 2017-09-11 13:51:20 UTC
Hi Laura,

Can you also please add that estimates are expected to be more accurate for larger data sets?

Thanks,
Nithya

Comment 19 Nithya Balachandran 2017-09-12 05:46:44 UTC
Thanks Laura. The text looks good.

Comment 21 errata-xmlrpc 2017-09-21 04:28:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2774

Comment 22 errata-xmlrpc 2017-09-21 04:54:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2774


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