Bug 1386669 - FSAL_GLUSTER : nfs4_acl functions is not working on latest ganesha rpms
Summary: FSAL_GLUSTER : nfs4_acl functions is not working on latest ganesha rpms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.2
Hardware: All
OS: All
high
high
Target Milestone: ---
: RHGS 3.2.0
Assignee: Frank Filz
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1351528
TreeView+ depends on / blocked
 
Reported: 2016-10-19 12:17 UTC by Jiffin
Modified: 2017-03-23 06:24 UTC (History)
11 users (show)

Fixed In Version: nfs-ganesha-2.4.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 06:24:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0493 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.2.0 nfs-ganesha bug fix and enhancement update 2017-03-23 09:19:13 UTC

Description Jiffin 2016-10-19 12:17:09 UTC
Description of problem:
Both nfs4_getfal/nfs4_setfacl is not working on latest ganesha builds. On the getattr/setattr call at FSAL_GLUSTER condition for acl enabled is always bypassing(glfs_h_acl_set/get is never called)

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

How reproducible:
always

Steps to Reproduce:
1.Create and Start glusterfs volume
2.Export the volume
3.Enable acl for that volume
4.Mount the volume
5.Create a file and call nfs4_getfacl on that file

Actual results:
Returns NULL

Expected results:
Should Return default values

Additional info:

Comment 3 Soumya Koduri 2016-10-20 21:43:41 UTC
Fixes submitted so far:

https://review.gerrithub.io/299006
https://review.gerrithub.io/299040

Comment 5 Soumya Koduri 2016-11-09 11:38:21 UTC
With the latest ganesha build provided, the ACLs functionalities have been working well esp., nfs4_getfacl and nfs4_setfacl work as expected. Moving this bug to ON_QA.

[root@dhcp35-197 ~]# nfs4_getfacl /mnt/dir1/
A::OWNER@:rwaDxtTcCy
A::GROUP@:rwaDxtcy
A::EVERYONE@:rxtcy

Comment 9 surabhi 2016-11-22 11:07:51 UTC
Verified with latest build, the nfs4_setfacl and nfs4_getfacl is listing default acls properly on nfsv4 mount.

nfs4_setfacl -a A::alice:RX abc

nfs4_getfacl abc
A::OWNER@:rwaxtTcCy
A::alice:rwaxtcy
A::GROUP@:rwaxtcy
A::EVERYONE@:rwaxtcy


nfs-ganesha-2.4.1-1.el7rhgs.x86_64
nfs-ganesha-gluster-2.4.1-1.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-5.el7rhgs.x86_64


Moving the BZ to verified.

Comment 11 errata-xmlrpc 2017-03-23 06:24:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2017-0493.html


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