Bug 852361

Summary: rebalance: open fd migration fails for files with non-root ownership
Product: [Community] GlusterFS Reporter: shishir gowda <sgowda>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: mainlineCC: ashetty, gluster-bugs, grajaiya, nakatatest, nsathyan, rfortier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:25:55 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:

Description shishir gowda 2012-08-28 09:24:30 UTC
Description of problem:
If a file has non-root permissions, and there are open fd;s during rebalance, application see's failures on the fd. There is no corruption reported. After migration of the file, it can be opened.

The problem is that the dst link files are created with root ownership.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.lauch a vm hosted on glusterfs.
2.add-bricks, and issue a rebalance.
3.vm should see errors.
  
Actual results:


Expected results:


Additional info:

Comment 1 shishir gowda 2012-08-28 09:36:28 UTC
Errors are reported on the vm. Apps fail, or fs errors are reported.

Comment 2 Vijay Bellur 2012-08-29 06:16:09 UTC
CHANGE: http://review.gluster.org/3861 (dht/rebalance: set the correct ownership on the dst file.) merged in master by Anand Avati (avati)

Comment 3 Vijay Bellur 2012-08-30 09:46:00 UTC
CHANGE: http://review.gluster.org/3862 (dht/rebalance: set the correct ownership on the dst file.) merged in release-3.3 by Vijay Bellur (vbellur)

Comment 4 shishir gowda 2012-09-13 09:52:10 UTC
*** Bug 840919 has been marked as a duplicate of this bug. ***

Comment 5 shishir gowda 2012-09-13 09:52:39 UTC
*** Bug 852580 has been marked as a duplicate of this bug. ***