Bug 1221489 - nfs-ganesha +dht :E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 2706777: UNLINK (Permission denied)
Summary: nfs-ganesha +dht :E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server:...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.7.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Shyamsundar
QA Contact:
URL:
Whiteboard: dht-file-permission
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-14 07:24 UTC by Saurabh
Modified: 2017-03-07 05:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-07 05:23:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2015-05-14 07:24:25 UTC
Description of problem:
Well I found this BZ while executing posix testuite, it fails with,
pjd-fstest-20080816/tests/rename/00.t .... 64/79

Version-Release number of selected component (if applicable):
glusterfs-3.7.0beta2-0.0.el6.x86_64
nfs-ganesha-2.2.0-0.el6.x86_64

How reproducible:
happened on first attempt

Steps to Reproduce:
1. create a 6x2 volume, start it
2. bring nfs-ganesha after doing all pre-requisites
3. disable_acl for the volume in consideration.
4. mount the volume with vers=3
5. start executing posix testsuite

Actual results:
the posix test suite is waiting for response at this point,
/opt/qa/tools/pjd-fstest-20080816/tests/rename/00.t .... 64/79

gfapi.log reports,
[2015-05-14 07:23:19.359248] W [client-rpc-fops.c:625:client3_3_unlink_cbk] 0-vol2-client-1: remote operation failed: Permission denied
[2015-05-14 07:23:19.359388] I [dht-common.c:1643:dht_lookup_everywhere_cbk] 0-vol2-dht: attempting deletion of stale linkfile /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a on vol2-replicate-0 (hashed subvol is vol2-replicate-4)
[2015-05-14 07:23:19.359532] W [client-rpc-fops.c:625:client3_3_unlink_cbk] 0-vol2-client-0: remote operation failed: Permission denied
[2015-05-14 07:23:19.360213] I [dht-common.c:1643:dht_lookup_everywhere_cbk] 0-vol2-dht: attempting deletion of stale linkfile /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a on vol2-replicate-0 (hashed subvol is vol2-replicate-4)
[2015-05-14 07:23:19.361436] I [dht-common.c:977:dht_lookup_unlink_cbk] 0-vol2-dht: lookup_unlink returned with op_ret -> -1 and op-errno -> 13 for /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a


bricks log reports,
[2015-05-14 07:19:53.266760] E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 4504062: UNLINK /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a (dc82cf62-8701-4fab-afa9-ff82c423cf7b/fstest_a1b17951bbc68e452b02abd3cf4cf15a) ==> (Permission denied)
[2015-05-14 07:19:53.276543] E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 4504072: UNLINK /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a (dc82cf62-8701-4fab-afa9-ff82c423cf7b/fstest_a1b17951bbc68e452b02abd3cf4cf15a) ==> (Permission denied)
[2015-05-14 07:19:53.279030] E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 4504080: UNLINK /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a (dc82cf62-8701-4fab-afa9-ff82c423cf7b/fstest_a1b17951bbc68e452b02abd3cf4cf15a) ==> (Permission denied)
[2015-05-14 07:19:53.282133] E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 4504085: UNLINK /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a (dc82cf62-8701-4fab-afa9-ff82c423cf7b/fstest_a1b17951bbc68e452b02abd3cf4cf15a) ==> (Permission denied)
[2015-05-14 07:19:53.286693] E [server-rpc-fops.c:1048:server_unlink_cbk] 0-vol2-server: 4504094: UNLINK /dir1/fstest_2f02ef6b423108211157842c608fbe71/fstest_a1b17951bbc68e452b02abd3cf4cf15a (dc82cf62-8701-4fab-afa9-ff82c423cf7b/fstest_a1b17951bbc68e452b02abd3cf4cf15a) ==> (Permission denied)


Expected results:
rename test of posix testuite should get executed successfully

Additional info:

Comment 2 Jiffin 2017-03-07 05:23:38 UTC
Similar issue got fixed by https://review.gluster.org/#/c/16016/. Hence closing the bug


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