Red Hat Bugzilla – Bug 1286900
FSAL_GLUSTER : Rename throws error in mount when acl is enabled
Last modified: 2016-08-08 10:10:54 EDT
Description of problem:
When acl is enabled and if rename is performed gettattr() call in FSAL_GLUSTER may return ENOENT for replaced(or removed) file. This will throw an error in mount even though rename was successful.
Version-Release number of selected component (if applicable):
using pynfs test it is 100% reproducible.
Steps to Reproduce:
1.Create a volume and export it via nfs-ganesha with acl enabled
2.Run RNM15 test in the pynfs suite for nfsv4
throws error in mount saying "No such file or directory"
Should throw this error
Error is sent from glfs_h_acl_get() in FSAL
Upstream patch reference https://review.gerrithub.io/#/c/253518/
This fix cause a regression for symlinks when acl enabled.Hence the changing into assigned state