Red Hat Bugzilla – Bug 852361
rebalance: open fd migration fails for files with non-root ownership
Last modified: 2013-12-08 20:33:13 EST
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):
Steps to Reproduce:
1.lauch a vm hosted on glusterfs.
2.add-bricks, and issue a rebalance.
3.vm should see errors.
Errors are reported on the vm. Apps fail, or fs errors are reported.
CHANGE: http://review.gluster.org/3861 (dht/rebalance: set the correct ownership on the dst file.) merged in master by Anand Avati (firstname.lastname@example.org)
CHANGE: http://review.gluster.org/3862 (dht/rebalance: set the correct ownership on the dst file.) merged in release-3.3 by Vijay Bellur (email@example.com)
*** Bug 840919 has been marked as a duplicate of this bug. ***
*** Bug 852580 has been marked as a duplicate of this bug. ***