Bug 1226807 - FSAL_GLUSTER: Ganesha caches the ACLs for a directory too long, needs re-validation
Summary: FSAL_GLUSTER: Ganesha caches the ACLs for a directory too long, needs re-val...
Keywords:
Status: CLOSED DUPLICATE of bug 1229860
Alias: None
Product: nfs-ganesha
Classification: Retired
Component: FSAL_GLUSTER
Version: devel
Hardware: All
OS: All
high
high
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On: 1215174
Blocks: 1229567
TreeView+ depends on / blocked
 
Reported: 2015-06-01 07:31 UTC by Jiffin
Modified: 2016-08-08 14:18 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1229567 (view as bug list)
Environment:
Last Closed: 2015-06-10 06:04:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Jiffin 2015-06-01 07:31:49 UTC
Description of problem:
Ganesha caches the ACLs for a directory too long, needs some re-validation or something. nfs4_setfacl will fails due to that. but succeeds when nfs-ganesha is restarted or when there is a sufficient delay.

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

How reproducible:
always

Steps to Reproduce:
1.Create and start a volume

2.Export a volume using nfs-ganesha

3.Create any user(user1) and group(group1) in the server and client

4.Mount the volume using nfs4 protocol

5.create directory at mount point : mkdir src

6.set acl(default acl for directory) using nfs4_setfacl on src: nfs4_setfacl -a A:gdf:group1:RWX src 

Actual results:

nfs4_setfacl fails, but succeeds when there is a sufficient delay or when ganesha is restarted.

Expected results:

nfs4_setfacl should succeed

Additional info:
The POSIX ACLs on the brick are set correctly. May be need to invalidate the dentry.

Comment 1 Jiffin 2015-06-10 06:04:46 UTC
The issue is related to caching of acces-control translator.

*** This bug has been marked as a duplicate of bug 1229860 ***


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