Bug 1007796 - Rebalance : Status shows skipped files , but no information in logs about which file is skipped
Summary: Rebalance : Status shows skipped files , but no information in logs about whi...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Susant Kumar Palai
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1286183
TreeView+ depends on / blocked
 
Reported: 2013-09-13 10:44 UTC by senaik
Modified: 2015-11-27 12:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1286183 (view as bug list)
Environment:
Last Closed: 2015-11-27 12:15:35 UTC
Embargoed:


Attachments (Terms of Use)

Description senaik 2013-09-13 10:44:15 UTC
Description of problem:
======================= 
Rebalance Status shows skipped file count , but log does not display any information about which file is being skipped 


Version-Release number of selected component (if applicable):
============================================================== 
glusterfs 3.4.0.33rhs

How reproducible:
================= 
not tried 


Steps to Reproduce:
====================
1.Create a distribute volume with 4 bricks and start it 

2.Fuse mount the volume and create some files 

3.Add 2 more bricks and start rebalance , check status 

Execute rebalance start force

4.While rebalance is going on , kill one of the bricks and check status 

gluster v rebalance vol3 status

Node  Rebalanced-files  size  scanned  failures  skipped status run time in secs
----  ----------------  ---- --------- --------- ------- ------ ----------------
localhost       36     360.0MB   165      0         1    stopped      20.00
10.70.34.86     42     420.0MB   42       0         0    stopped      20.00
10.70.34.88     33     330.0MB   313      0         1    stopped      20.00
10.70.34.89     40     400.0MB   554      0         0    stopped      20.00

volume rebalance: vol3: success:

The log has no information on which file is being skipped 

---------------------------part of log from 10.70.34.85-------------------

[2013-09-13 10:01:35.810292] I [client.c:2103:client_rpc_notify] 0-vol3-client-1: disconnected from 10.70.34.85:49171. Client process will keep trying to connect to glusterd until brick's port is available. 
[2013-09-13 10:01:35.810307] W [dht-common.c:5131:dht_notify] 0-vol3-dht: Received CHILD_DOWN. Exiting
[2013-09-13 10:01:35.810315] I [dht-rebalance.c:1788:gf_defrag_stop] 0-: Received stop command on rebalance
[2013-09-13 10:01:35.810397] E [dht-rebalance.c:746:dht_migrate_file] 0-vol3-dht: /x168: failed to migrate data
[2013-09-13 10:01:35.821476] I [dht-rebalance.c:1766:gf_defrag_status_get] 0-glusterfs: Rebalance is stopped. Time taken is 20.00 secs
[2013-09-13 10:01:35.821496] I [dht-rebalance.c:1769:gf_defrag_status_get] 0-glusterfs: Files migrated: 36, size: 377487360, lookups: 165, failures: 0, skipped: 1
[2013-09-13 10:01:35.821714] W [glusterfsd.c:1062:cleanup_and_exit] (-->/lib64/libc.so.6(clone+0x6d) [0x359d4e894d] (-->/lib64/libpthread.so.0() [0x359dc07851] (-->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xcd) [0x4053cd]))) 0-: received signum (15), shutting down

-------------------------------------------------------------------------------

Actual results:
===============
Log has no information on which file is being skipped 


Expected results:
=================
The logs should provide information on which file is being skipped 

Additional info:


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