Bug 1017169

Summary: [RHSC] - Status dialog does not display the correct size of the files rebalanced.
Product: Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: anmol babu <anbabu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: anbabu, dpati, dtsang, mmahoney, pprakash, rhs-bugs, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:50:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RamaKasturi 2013-10-09 11:14:58 UTC
Description of problem:
Status dialog does not display the correct size of the files rebalanced.

Version-Release number of selected component (if applicable):
rhsc-2.1.1-0.0.3.master.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a distribute volume with four bricks and start it.
2. Now mount the volume and create data say 60GB in the mount point.
3. Add another brick to the volume and start rebalance.

Actual results:
Once rebalance is completed the following output comes from UI.

rebalance vol_dis status
                                    Node Rebalanced-files          size       scanned      failures       skipped         status run time in secs
                               ---------      -----------   -----------   -----------   -----------   -----------   ------------   --------------
                               localhost                2         1GB            50             0             1      completed            55.00
                            10.70.37.190                0        0Bytes            48             0             1      completed             1.00
                            10.70.37.160                1      1000MB            49             0             2      completed            38.00
                            10.70.37.144                0        0Bytes            48             0             0      completed             1.00

And the following from CLI.

rebalance vol_dis status
                                    Node Rebalanced-files          size       scanned      failures       skipped         status run time in secs
                               ---------      -----------   -----------   -----------   -----------   -----------   ------------   --------------
                               localhost                2         2.0GB            50             0             1      completed            55.00
                            10.70.37.190                0        0Bytes            48             0             1      completed             1.00
                            10.70.37.160                1      1000.0MB            49             0             2      completed            38.00
                            10.70.37.144                0        0Bytes            48             0             0      completed             1.00


Expected results:
Size should be same as that of CLI.

Additional info:

Comment 2 Shruti Sampat 2013-10-18 07:41:52 UTC
Hi Anmol,

I am seeing this issue in remove-brick status dialog also. Will that be fixed as part of this?

Comment 3 anmol babu 2013-10-18 08:24:31 UTC
Yes,it also uses the same code so,that also should be fixed.

Comment 4 RamaKasturi 2013-10-31 09:04:38 UTC
Works fine with CB6 build.(rhsc-2.1.2-0.22.master.el6_4.noarch)

Now rebalance file size is getting displayed with two digits after the decimal point.

Comment 6 errata-xmlrpc 2014-02-25 07:50:48 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html