Bug 1294586

Summary: DHT:Rebalance is failing with failed to perform setattr
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RajeshReddy <rmekala>
Component: distributeAssignee: Raghavendra G <rgowdapp>
Status: CLOSED NOTABUG QA Contact: Anoop <annair>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: kramdoss, mzywusko, rhs-bugs, spalai, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dht-rca-unknown, dht-rebalance-file
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-01 13:10:19 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:
Attachments:
Description Flags
rebalance_log none

Description RajeshReddy 2015-12-29 05:41:01 UTC
Created attachment 1110087 [details]
rebalance_log

Description of problem:
============
DHT:Rebalance is failing with failed to perform setattr 

Version-Release number of selected component (if applicable):
=================
glusterfs-server-3.7.5-13

How reproducible:


Steps to Reproduce:
============
1. Create a volume with one brick and mount it on client using FUSE and create few files of around 10GB and Crete large file using DD while writes are going on
2. Add another brick to the volume and remove the original brick from the volume and while files are migrating delete all files from the mount 


Actual results:
=============
Rebalance is failing with failed to perform setattr 


Expected results:


Additional info:
============

[root@rhs-client18 dht_rebal_delete_new]# gluster vol info dht_rebal_delete
 
Volume Name: dht_rebal_delete
Type: Distribute
Volume ID: ac8d73df-75d7-4370-9b61-a9f0e32b3341
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: rhs-client18.lab.eng.blr.redhat.com:/rhs/brick2/dht_rebal_delete_new
Options Reconfigured:
performance.readdir-ahead: on

Comment 2 Susant Kumar Palai 2016-07-01 13:10:19 UTC
(In reply to RajeshReddy from comment #0)
> Created attachment 1110087 [details]
> rebalance_log
> 
> Description of problem:
> ============
> DHT:Rebalance is failing with failed to perform setattr 
> 
> Version-Release number of selected component (if applicable):
> =================
> glusterfs-server-3.7.5-13
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> ============
> 1. Create a volume with one brick and mount it on client using FUSE and
> create few files of around 10GB and Crete large file using DD while writes
> are going on
> 2. Add another brick to the volume and remove the original brick from the
> volume and while files are migrating delete all files from the mount 
Since the files are getting deleted, setattr or any operation for that matter may fail on that file.
> 
> 
> Actual results:
> =============
> Rebalance is failing with failed to perform setattr 
> 
> 
> Expected results:
> 
> 
> Additional info:
> ============
> 
> [root@rhs-client18 dht_rebal_delete_new]# gluster vol info dht_rebal_delete
>  
> Volume Name: dht_rebal_delete
> Type: Distribute
> Volume ID: ac8d73df-75d7-4370-9b61-a9f0e32b3341
> Status: Started
> Number of Bricks: 1
> Transport-type: tcp
> Bricks:
> Brick1: rhs-client18.lab.eng.blr.redhat.com:/rhs/brick2/dht_rebal_delete_new
> Options Reconfigured:
> performance.readdir-ahead: on