Bug 765513 (GLUSTER-3781)

Summary: crash seen for nfs server
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: replicateAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saurabh 2011-11-04 05:32:39 UTC
[root@RHEL6 ~]# mount | grep xfs
/dev/sdb1 on /export type xfs (rw,allocsize=4096)

[root@RHEL6 ~]# gluster volume info dist-rep

Volume Name: dist-rep
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.1.11.130:/export/dr
Brick2: 10.1.11.131:/export/drr
Brick3: 10.1.11.130:/export/ddr
Brick4: 10.1.11.131:/export/ddrr
Options Reconfigured:
features.quota: off

#################nfs server log#############################
[2011-11-03 10:08:59.404576] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dist-rep-client-3: remote operation failed: File name too 
long
[2011-11-03 10:08:59.404740] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dist-rep-client-2: remote operation failed: File name too 
long
[2011-11-03 10:08:59.406488] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dist-rep-client-0: remote operation failed: File name too 
long
[2011-11-03 10:08:59.406529] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dist-rep-client-1: remote operation failed: File name too 
long
[2011-11-03 10:08:59.765179] E [afr-common.c:195:afr_lookup_save_gfid] (-->/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/distribu
te.so(dht_rmdir_readdirp_cbk+0x7b) [0x7f3b4efdd27b] (-->/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/distribute.so(dht_rmdir_is_
subvol_empty+0x51f) [0x7f3b4efdcfff] (-->/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/replicate.so(afr_lookup+0x2c1) [0x7f3b4f22
e701]))) 0-: Assertion failed: new && !uuid_is_null (new)
pending frames:

patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 2011-11-03 10:08:59
configuration details:
argp 1
backtrace 1
dlfcn 1
fdatasync 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.2.5qa4
/lib64/libc.so.6[0x34c2232980]
/root/325/inst/lib/libglusterfs.so.0(uuid_copy+0x8)[0x7f3b512ff788]
/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/replicate.so(afr_lookup+0x2c1)[0x7f3b4f22e701]
/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/distribute.so(dht_rmdir_is_subvol_empty+0x51f)[0x7f3b4efdcfff]
/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/distribute.so(dht_rmdir_readdirp_cbk+0x7b)[0x7f3b4efdd27b]
/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/cluster/replicate.so(afr_readdirp_cbk+0x302)[0x7f3b4f1f39a2]
/root/325/inst/lib/glusterfs/3.2.5qa4/xlator/protocol/client.so(client3_1_readdirp_cbk+0x121)[0x7f3b4f45f281]
/root/325/inst/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5)[0x7f3b510af4f5]
/root/325/inst/lib/libgfrpc.so.0(rpc_clnt_notify+0xc9)[0x7f3b510af749]
/root/325/inst/lib/libgfrpc.so.0(rpc_transport_notify+0x28)[0x7f3b510aa3b8]
/root/325/inst/lib/glusterfs/3.2.5qa4/rpc-transport/socket.so(socket_event_poll_in+0x34)[0x7f3b4c484044]
/root/325/inst/lib/glusterfs/3.2.5qa4/rpc-transport/socket.so(socket_event_handler+0xc7)[0x7f3b4c484127]
/root/325/inst/lib/libglusterfs.so.0(+0x3df54)[0x7f3b512f4f54]
/root/325/inst/sbin/glusterfs(main+0x2a8)[0x405e28]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x34c221ecdd]
/root/325/inst/sbin/glusterfs[0x4035e9]
---------


############################bt################################

(gdb) bt
#0  uuid_copy (dst=0x1f78ec8 "", src=<value optimized out>) at ../../contrib/uuid/copy.c:44
#1  0x00007f3b4f22e701 in afr_lookup (frame=0x7f3b50391d08, this=0x1ecdf00, loc=0x1f94038, xattr_req=0x0) at afr-common.c:1703
#2  0x00007f3b4efdcfff in dht_rmdir_is_subvol_empty (frame=0x7f3b50394fa4, this=0x1ece9a0, entries=0x7fff79fcbf70, src=0x1ecdf00)
    at dht-common.c:4499
#3  0x00007f3b4efdd27b in dht_rmdir_readdirp_cbk (frame=0x7f3b50394fa4, cookie=0x7f3b50390034, this=0x1ece9a0, op_ret=3, 
    op_errno=<value optimized out>, entries=<value optimized out>) at dht-common.c:4527
#4  0x00007f3b4f1f39a2 in afr_readdirp_cbk (frame=0x7f3b50390034, cookie=<value optimized out>, this=0x1ecdf00, op_ret=3, op_errno=2, 
    entries=<value optimized out>) at afr-dir-read.c:641
#5  0x00007f3b4f45f281 in client3_1_readdirp_cbk (req=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, 
    myframe=0x7f3b5038e694) at client3_1-fops.c:1939
#6  0x00007f3b510af4f5 in rpc_clnt_handle_reply (clnt=0x1f16040, pollin=0x1f1da90) at rpc-clnt.c:741
#7  0x00007f3b510af749 in rpc_clnt_notify (trans=<value optimized out>, mydata=0x1f16070, event=<value optimized out>, 
    data=<value optimized out>) at rpc-clnt.c:854
#8  0x00007f3b510aa3b8 in rpc_transport_notify (this=<value optimized out>, event=<value optimized out>, data=<value optimized out>)
    at rpc-transport.c:919
#9  0x00007f3b4c484044 in socket_event_poll_in (this=0x1f161b0) at socket.c:1647
#10 0x00007f3b4c484127 in socket_event_handler (fd=<value optimized out>, idx=3, data=0x1f161b0, poll_in=1, poll_out=0, 
    poll_err=<value optimized out>) at socket.c:1762
#11 0x00007f3b512f4f54 in event_dispatch_epoll_handler (event_pool=0x1ec3370) at event.c:794
#12 event_dispatch_epoll (event_pool=0x1ec3370) at event.c:856
#13 0x0000000000405e28 in main (argc=<value optimized out>, argv=0x7fff79fcc308) at glusterfsd.c:1509

Comment 1 Pranith Kumar K 2011-11-10 08:46:46 UTC

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