Bug 804979

Summary: possible infinite loop detected?
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: coreAssignee: GlusterFS Bugs list <gluster-bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: pre-releaseCC: gluster-bugs, kkeithle, rwheeler, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-30 12:23:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Brick and nfs logs. none

Description Sachidananda Urs 2012-03-20 11:24:12 UTC
Logs like:


[2012-03-20 00:18:45.425144] C [inode.c:1065:__inode_path] 0-/store/1/inode: possible infinite loop detected, forcing break. name=((null))
[2012-03-20 00:18:45.476711] C [inode.c:1065:__inode_path] 0-/store/1/inode: possible infinite loop detected, forcing break. name=((null))

are seen in the glusterfsd logs. Setup 4 node distribute mounted using nfs.

Running ltp tests simultaneously on 3-4 mounts reproduces the following error. brick and nfs logs attached.

=====


[2012-03-20 00:15:17.780879] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/linEHVFgc/
lkfile_1420.993 failed (File exists)
[2012-03-20 00:15:17.866207] E [posix-helpers.c:659:posix_handle_pair] 0-nfs-test-2-posix: /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/linEHVFgc/lkfi
le_1420.998: key:trusted.glusterfs.dht.linkto error:File exists
[2012-03-20 00:15:17.866225] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/linEHVFgc/
lkfile_1420.998 failed (File exists)
[2012-03-20 00:15:17.868858] E [posix-helpers.c:659:posix_handle_pair] 0-nfs-test-2-posix: /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/linEHVFgc/lkfi
le_1420.999: key:trusted.glusterfs.dht.linkto error:File exists
[2012-03-20 00:15:17.868874] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/linEHVFgc/
lkfile_1420.999 failed (File exists)
[2012-03-20 00:17:37.569536] E [marker.c:2055:marker_setattr_cbk] 0-nfs-test-2-marker: Operation not permitted occurred during setattr of <nul>
[2012-03-20 00:17:37.569579] I [server3_1-fops.c:1504:server_setattr_cbk] 0-nfs-test-2-server: 10246051: SETATTR /scratch/ltp-VM4qqGTOvu/chmrf0eJv/tfile_1 (0cf78575-806
6-449d-aa40-9fd1e628dfe5) ==> -1 (Operation not permitted)
[2012-03-20 00:18:45.425144] C [inode.c:1065:__inode_path] 0-/store/1/inode: possible infinite loop detected, forcing break. name=((null))
[2012-03-20 00:18:45.476711] C [inode.c:1065:__inode_path] 0-/store/1/inode: possible infinite loop detected, forcing break. name=((null))
[2012-03-20 00:18:45.476995] W [posix.c:580:posix_opendir] (-->/opt/glusterfs/3.3.0qa30/lib/glusterfs/3.3.0qa30/xlator/performance/io-threads.so(iot_opendir_wrapper+0x1
17) [0x7fe0708af967] (-->/opt/glusterfs/3.3.0qa30/lib/glusterfs/3.3.0qa30/xlator/features/locks.so(pl_opendir+0x12b) [0x7fe070ac3fab] (-->/opt/glusterfs/3.3.0qa30/lib/g
lusterfs/3.3.0qa30/xlator/features/access-control.so(posix_acl_opendir+0x220) [0x7fe070cd9320]))) 0-nfs-test-2-posix: invalid argument: loc->path
[2012-03-20 00:18:45.477021] I [server3_1-fops.c:630:server_opendir_cbk] 0-nfs-test-2-server: 10304917: OPENDIR (null) (ba327533-b257-49b9-8b0e-75cda1d149a7) ==> -1 (In
valid argument)
[2012-03-20 00:19:17.645533] I [server3_1-fops.c:793:server_setxattr_cbk] 0-nfs-test-2-server: 10327089: SETXATTR /scratch/ltp-VM4qqGTOvu/fchhywAwm.1541 (54706688-faaa-
4d31-b6e1-6d873aa96738) ==> -1 (Permission denied)
[2012-03-20 00:36:00.857137] I [server3_1-fops.c:793:server_setxattr_cbk] 0-nfs-test-2-server: 11211327: SETXATTR /scratch2/ltp-NKeALz5cmF/fchmQnrB4.24650 (cd5a09d6-2a8
f-44e5-9500-39cf6cb53bb6) ==> -1 (Permission denied)
[2012-03-20 00:45:09.368023] E [posix-helpers.c:659:posix_handle_pair] 0-nfs-test-2-posix: /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.27230/hf
ile5: key:trusted.glusterfs.dht.linkto error:File exists
[2012-03-20 00:45:09.368053] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.2723
0/hfile5 failed (File exists)
[2012-03-20 00:45:09.373979] E [posix-helpers.c:659:posix_handle_pair] 0-nfs-test-2-posix: /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.27230/hf
ile6: key:trusted.glusterfs.dht.linkto error:File exists
[2012-03-20 00:45:09.373998] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.2723
0/hfile6 failed (File exists)
[2012-03-20 00:45:09.397392] E [posix-helpers.c:659:posix_handle_pair] 0-nfs-test-2-posix: /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.27230/hf
ile8: key:trusted.glusterfs.dht.linkto error:File exists
[2012-03-20 00:45:09.397410] E [posix.c:850:posix_mknod] 0-nfs-test-2-posix: setting xattrs on /store/1/.glusterfs/f1/5b/f15b9e71-718e-4f8f-99a9-775aea8444c8/hlink.2723
0/hfile8 failed (File exists)

Comment 1 Sachidananda Urs 2012-03-20 11:25:30 UTC
Created attachment 571359 [details]
Brick and nfs logs.

Comment 2 Amar Tumballi 2012-03-25 09:09:17 UTC
Avati, any clue on this? I didn't go deep into debugging it, will resume this on tuesday.

Comment 3 Vijay Bellur 2012-05-21 05:26:24 UTC
Removing blocker tag as this is not consistently seen.

Comment 4 Kaleb KEITHLEY 2014-09-30 12:23:56 UTC
very old version, presumed fixed in current versions