Bug 1140517

Summary: DHT + rebalance :- skipped file count is always 'zero' even though rebalance has skipped many files .
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachana Patel <racpatel>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED ERRATA QA Contact: amainkar
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: divya, nbalacha, nsathyan, psriniva, sharne, shmohan, ssamanta, surs, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of:
: 1161518 1168552 (view as bug list) Environment:
Last Closed: 2015-01-15 13:39:43 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1087818, 1161518, 1162694, 1168552    

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