Bug 820355
Summary: | [glusterfs-3.3.0qa40] - glusterfs fuse client crashed with loc->path being zero. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | M S Vishwanath Bhat <vbhat> |
Component: | unclassified | Assignee: | Amar Tumballi <amarts> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | M S Vishwanath Bhat <vbhat> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | pre-release | CC: | amarts, gluster-bugs, mzywusko, vkoppad, vraman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:29:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | 3.3.0qa42 | Category: | --- |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
M S Vishwanath Bhat
2012-05-09 18:24:31 UTC
Same thing happened to me in geo-rep testing with dist-striped-replicate volume. All the glusterfs went down. It resulted in all the aux mount crash and geo-rep status going to faulty state. this is the backtrace in the log file. [2012-05-14 00:20:33.462141] I [afr-common.c:1971:afr_set_root_inode_on_first_lookup] 0-doa-replicate-2: added root inode [2012-05-14 00:20:33.462201] I [afr-common.c:1971:afr_set_root_inode_on_first_lookup] 0-doa-replicate-3: added root inode [2012-05-14 00:28:38.071932] I [glusterfsd-mgmt.c:64:mgmt_cbk_spec] 0-mgmt: Volume file changed [2012-05-14 00:28:40.678708] I [glusterfsd-mgmt.c:1565:mgmt_getspec_cbk] 0-glusterfs: No change in volfile, continuing pending frames: frame : type(1) op(READDIR) frame : type(1) op(READDIR) frame : type(1) op(READDIR) patchset: git://git.gluster.com/glusterfs.git signal received: 11 time of crash: 2012-05-14 00:54:27 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.3.0qa40 /lib64/libc.so.6[0x39db832900] /usr/lib64/glusterfs/3.3.0qa40/xlator/cluster/replicate.so(afr_lookup+0xa5)[0x7f30115ceac5] /usr/lib64/glusterfs/3.3.0qa40/xlator/cluster/stripe.so(stripe_readdirp_cbk+0x536)[0x7f301136b346] /usr/lib64/glusterfs/3.3.0qa40/xlator/cluster/replicate.so(afr_readdirp_cbk+0x1ca)[0x7f301158a69a] /usr/lib64/glusterfs/3.3.0qa40/xlator/protocol/client.so(client3_1_readdirp_cbk+0x170)[0x7f3011803b00] /usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa2)[0x306240f302] /usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0xb6)[0x306240f516] /usr/lib64/libgfrpc.so.0(rpc_transport_notify+0x27)[0x306240ae17] /usr/lib64/glusterfs/3.3.0qa40/rpc-transport/socket.so(socket_event_poll_in+0x3f)[0x7f3012648c8f] /usr/lib64/glusterfs/3.3.0qa40/rpc-transport/socket.so(socket_event_handler+0x188)[0x7f3012648e38] /usr/lib64/libglusterfs.so.0[0x3061c3e941] /usr/sbin/glusterfs(main+0x502)[0x4066c2] /lib64/libc.so.6(__libc_start_main+0xfd)[0x39db81ecdd] /usr/sbin/glusterfs[0x404349] Blocking many test cases. Moving the severity to high. please see if the patch http://review.gluster.com/3325 fixes the issue, and continue your tests with the patch included. With the patch applied, I didn't see any crash. But client got hung few times and I see a lot of below warnings in the client log file. [2012-05-14 06:30:56.504861] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.505110] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.508427] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.508720] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.513763] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.514073] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.514676] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.514935] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.515498] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.515787] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.516336] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.516614] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.517262] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.517584] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.518198] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-0: remote operation failed: No data available. Path: (null) (--) [2012-05-14 06:30:56.518618] W [client3_1-fops.c:1058:client3_1_getxattr_cbk] 0-hosdu-client-1: remote operation failed: No data available. Path: (null) (--) CHANGE: http://review.gluster.com/3325 (cluster/replicate: check for 'loc->path' before dereferencing it) merged in master by Anand Avati (avati) Please verify the crash issue. CHANGE: http://review.gluster.com/3374 (cluster/afr: Assign gfid path if path is NULL in lookup) merged in release-3.3 by Vijay Bellur (vijay) On glusterfs-3.3.0qa42 , there are no crashes and no hangs on clients . |