Bug 1140517 - DHT + rebalance :- skipped file count is always 'zero' even though rebalance has skipped many files .
Summary: DHT + rebalance :- skipped file count is always 'zero' even though rebalance...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHGS 3.0.3
Assignee: Nithya Balachandran
QA Contact: amainkar
URL:
Whiteboard:
Depends On:
Blocks: 1087818 1161518 1162694 1168552
TreeView+ depends on / blocked
 
Reported: 2014-09-11 07:39 UTC by Rachana Patel
Modified: 2015-05-13 17:42 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.6.0.33-1
Doc Type: Bug Fix
Doc Text:
Previously, executing the rebalance status command displayed incorrect values for the number of skipped and failed file migrations. With this fix, the command displays the correct values for the number of skipped and failed file migrations.
Clone Of:
: 1161518 1168552 (view as bug list)
Environment:
Last Closed: 2015-01-15 13:39:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 18:35:28 UTC

Description Rachana Patel 2014-09-11 07:39:29 UTC
Description of problem:
=======================
DHT + rebalance :-  skipped file count is always 'zero' even though rebalance has skipped many files .


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



How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and start distributed volume.
2. mount it and create few files and Directory inside it.
3. add bricks and start rebalance without force option.
4. once rebalance is done check status which has '0' in skipped colum.
5. check rebalance log and it says is has skipped many files

[root@dht18 ~]# gluster volume rebalance screw status
                                    Node Rebalanced-files          size       scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                               localhost              458       360.0MB          3724             0             0            completed             117.00
                             10.70.44.66              688       480.0MB          4023             0             0            completed             141.00
            dht17.lab.eng.blr.redhat.com              408       336.0MB          3768             0             0            completed             121.00
            dht19.lab.eng.blr.redhat.com              341       168.0MB          3282             0             0            completed             120.00
volume rebalance: screw: success: 


[root@dht18 ~]# grep 'MSGID: 109023' /var/log/glusterfs/screw-rebalance.log | wc -l
    55    


log snippet:-

[2014-09-11 00:08:02.447989] W [MSGID: 109023] [dht-rebalance.c:547:__dht_check_free_space] 0-screw-dht: data movement attempted from node (screw-client-2) with higher disk space to a node (screw-client-4) with lesser disk space (/new/f62-101)
[2014-09-11 00:08:02.476873] W [MSGID: 109023] [dht-rebalance.c:547:__dht_check_free_space] 0-screw-dht: data movement attempted from node (screw-client-2) with higher disk space to a node (screw-client-4) with lesser disk space (/new/f72-101)
[2014-09-11 00:08:03.118416] W [MSGID: 109023] [dht-rebalance.c:547:__dht_check_free_space] 0-screw-dht: data movement attempted from node (screw-client-12) with higher disk space to a node (screw-client-11) with lesser disk space (/new/f66-101)

Actual results:
===============
It is always showing '0' in skipped count

Comment 4 Pavithra 2014-11-05 07:41:00 UTC
Nithya,

Can you please review the edited doc text for the known issue and sign off?

Comment 10 Divya 2014-12-30 08:52:17 UTC
Nithya,

Could you review the edited doc text and sign-off?

Comment 13 errata-xmlrpc 2015-01-15 13:39:43 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://rhn.redhat.com/errata/RHBA-2015-0038.html


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