Bug 958043

Summary: NFS crashed
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: glusterfsAssignee: Vivek Agarwal <vagarwal>
Status: CLOSED ERRATA QA Contact: Rahul Hinduja <rhinduja>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1CC: amarts, kparthas, rhs-bugs, sankarshan, saujain, surs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.4rhs-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 959190 (view as bug list) Environment:
Last Closed: 2013-09-23 22:35:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 959190, 1011761    

Description Rahul Hinduja 2013-04-30 08:44:19 UTC
Description of problem:
=======================

While trying to delete and than list (ls) the files and directories simultaneously from fuse and nfs mount. One of the NFS process on server crashed with the log:

pending frames:
frame : type(0) op(0)
frame : type(0) op(0)

patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 2013-04-30 17:53:56configuration 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.4.0.1rhs
/lib64/libc.so.6[0x3d78032920]
/lib64/libpthread.so.0(pthread_spin_lock+0x0)[0x3d7880c170]
/usr/lib64/libglusterfs.so.0(fd_unref+0x36)[0x3d79439a76]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/protocol/client.so(client_local_wipe+0x28)[0x7fc41a6f8c08]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/protocol/client.so(client3_3_opendir_cbk+0x19a)[0x7fc41a7071ba]
/usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5)[0x3d7a00ddf5]
/usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0x127)[0x3d7a00e9d7]
/usr/lib64/libgfrpc.so.0(rpc_transport_notify+0x28)[0x3d7a00a338]
/usr/lib64/glusterfs/3.4.0.1rhs/rpc-transport/socket.so(socket_event_poll_in+0x34)[0x7fc41b7662d4]
/usr/lib64/glusterfs/3.4.0.1rhs/rpc-transport/socket.so(socket_event_handler+0x13d)[0x7fc41b76642d]
/usr/lib64/libglusterfs.so.0[0x3d7945b3e7]
/usr/sbin/glusterfs(main+0x5c6)[0x406676]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3d7801ecdd]
/usr/sbin/glusterfs[0x404559]
---------
(END) 




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

[root@rhs-client11 ~]# rpm -qa | grep gluster
glusterfs-debuginfo-3.4.0.1rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.1rhs-1.el6rhs.x86_64
gluster-swift-container-1.4.8-4.el6.noarch
gluster-swift-1.4.8-4.el6.noarch
gluster-swift-doc-1.4.8-4.el6.noarch
vdsm-gluster-4.10.2-4.0.qa5.el6rhs.noarch
gluster-swift-plugin-1.0-5.noarch
gluster-swift-proxy-1.4.8-4.el6.noarch
gluster-swift-account-1.4.8-4.el6.noarch
glusterfs-geo-replication-3.4.0.1rhs-1.el6rhs.x86_64
org.apache.hadoop.fs.glusterfs-glusterfs-0.20.2_0.2-1.noarch
glusterfs-3.4.0.1rhs-1.el6rhs.x86_64
glusterfs-server-3.4.0.1rhs-1.el6rhs.x86_64
glusterfs-rdma-3.4.0.1rhs-1.el6rhs.x86_64
gluster-swift-object-1.4.8-4.el6.noarch
[root@rhs-client11 ~]# 


Steps to Reproduce:
1. Created 6*2 distriubuted-replicate volume
2. Mounted on client (both fuse and nfs mount)
3. Created fuse-test and nfs-test directories on fuse and nfs mount respectively.
4. Ran script1.sh on both fuse and nfs test directories. Script does the directory and file creation, dd etc.
5. Tried to remove all the files and directories from fuse and nfs mount simultaneously.
6. Tried to do ls from fuse and nfs mount. NFS mount hung and one of the server reported a core.

Comment 6 Scott Haines 2013-09-23 22:35:25 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html