Bug 1215174 - NFSv4 acl
Summary: NFSv4 acl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: nfs-ganesha
Classification: Retired
Component: FSAL_GLUSTER
Version: 2.2
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On: 1209735 1235147 1236269
Blocks: 1214162 1226802 1226807 1229564 1229567 1229569
TreeView+ depends on / blocked
 
Reported: 2015-04-24 13:43 UTC by Kaleb KEITHLEY
Modified: 2016-08-08 14:19 UTC (History)
4 users (show)

Fixed In Version: nfs-ganesha-2.3-dev-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1229564 (view as bug list)
Environment:
Last Closed: 2016-02-17 06:55:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Kaleb KEITHLEY 2015-04-24 13:43:53 UTC
Description of problem:

NFSv4 and POSIX ACL

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Saurabh 2015-05-07 13:01:40 UTC
Presently I am facing issues when acls are enabled,
something like where the posix test suite does not move beyond a point. 
Here in this case, the posix test suite gets stuck at chmod 00.t case,
[root@rhsauto005 dir]# time prove -r /opt/qa/tools/pjd-fstest-20080816/tests/
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/00.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/01.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/02.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/03.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/04.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/05.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/06.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/07.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/08.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/09.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/10.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/11.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/12.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chflags/13.t ... ok   
/opt/qa/tools/pjd-fstest-20080816/tests/chmod/00.t ..... 1/58 

Whereas if I disable acls then the same posix test suite finishes to give result.

Additional info when acls are enabled,

[root@nfs1 ~]# ps -eaf | grep nfs
root     22909     1  0 14:42 ?        00:00:04 /usr/bin/ganesha.nfsd -L /var/log/ganesha.log -f /etc/ganesha/ganesha.conf -N NIV_EVENT -p /var/run/ganesha.nfsd.pid
root     23307 25794  0 15:06 pts/0    00:00:00 grep nfs
[root@nfs1 ~]# 
[root@nfs1 ~]# 
[root@nfs1 ~]# 
[root@nfs1 ~]# 
[root@nfs1 ~]# service nfs-ganesha status
ganesha.nfsd (pid  22909) is running...

[root@nfs1 ~]# gluster volume status
Status of volume: vol0
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 10.70.37.148:/rhs/brick1/d1r1         49152     0          Y       21347
Brick 10.70.37.77:/rhs/brick1/d1r2          49152     0          Y       11829
Brick 10.70.37.76:/rhs/brick1/d2r1          49152     0          Y       32710
Brick 10.70.37.69:/rhs/brick1/d2r2          49152     0          Y       26127
Brick 10.70.37.148:/rhs/brick1/d3r1         49153     0          Y       21364
Brick 10.70.37.77:/rhs/brick1/d3r2          49153     0          Y       11846
Brick 10.70.37.76:/rhs/brick1/d4r1          49153     0          Y       32727
Brick 10.70.37.69:/rhs/brick1/d4r2          49153     0          Y       26144
Brick 10.70.37.148:/rhs/brick1/d5r1         49154     0          Y       21381
Brick 10.70.37.77:/rhs/brick1/d5r2          49154     0          Y       11863
Brick 10.70.37.76:/rhs/brick1/d6r1          49154     0          Y       32744
Brick 10.70.37.69:/rhs/brick1/d6r2          49154     0          Y       26161
Self-heal Daemon on localhost               N/A       N/A        Y       21407
Self-heal Daemon on 10.70.37.76             N/A       N/A        Y       304  
Self-heal Daemon on 10.70.37.77             N/A       N/A        Y       11892
Self-heal Daemon on 10.70.37.69             N/A       N/A        Y       26188
 
Task Status of Volume vol0
------------------------------------------------------------------------------
There are no active volume tasks



[root@nfs1 ~]# cat /etc/ganesha/exports/export.vol0.conf 
# WARNING : Using Gluster CLI will overwrite manual
# changes made to this file. To avoid it, edit the
# file, copy it over to all the NFS-Ganesha nodes
# and run ganesha-ha.sh --refresh-config.
EXPORT{
      Export_Id= 2 ;
      Path = "/vol0";
      FSAL {
           name = GLUSTER;
           hostname="localhost";
          volume="vol0";
           }
      Access_type = RW;
      Squash="No_root_squash";
      Pseudo="/vol0";
      Protocols = "3", "4" ;
      Transports = "UDP","TCP";
      SecType = "sys";
     }

Comment 2 Jiffin 2015-05-21 12:32:17 UTC
With latest changes on acl ,there is no more hang issue is present.


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