Bug 801996
Summary: | XDR decoding failure | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shwetha Panduranga <shwetha.h.panduranga> | ||||||
Component: | core | Assignee: | Amar Tumballi <amarts> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | mainline | CC: | amarts, gluster-bugs, spandura, vbellur, vraman | ||||||
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: | 2012-11-21 09:32:04 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Shwetha Panduranga
2012-03-10 05:40:27 UTC
Is this bug still reproducible on master? on v3.3.0qa26, server_lk_cbk doesn't receive xdata as its argument and hence xdata will be NULL when rsp is decoded client3_1_lk_cbk. This is fixed in 9d3af972. However, the puzzling thing is that both server_lk_cbk and client_lk_cbk use same xdr_proc to encode/decode. So, we should've seen similar log messages in server log too. But, there are no server logs attached here. I've asked for server side logs from QA. To summarize, this bug is likely have been fixed on current master (6a995ab3300a5ee0ee79a4d7d75281a79deec96e). regards, Raghavendra. I was able to recreate the bug on 3.3.0qa34. client log:- ------------ [2012-04-13 16:07:50.459379] I [client-handshake.c:1632:select_server_supported_programs] 2-dstore-client-5: Using Program GlusterFS 3.3.0qa34, Num (1298437), Version (330) [2012-04-13 16:07:50.702409] E [client3_1-fops.c:1525:client3_1_finodelk_cbk] 2-dstore-client-5: XDR decoding failed [2012-04-13 16:07:50.702555] W [client3_1-fops.c:1539:client3_1_finodelk_cbk] 2-dstore-client-5: remote operation failed: Invalid argument [2012-04-13 16:07:50.702648] I [afr-lk-common.c:572:afr_unlock_inodelk_cbk] 2-dstore-replicate-1: <gfid:dfee4a39-dd8b-4ba4-abfc-c192d39b9a52>/dir.4/file.1: unlock failed on 2 unlock by ace3a6fa487f0000 [2012-04-13 16:07:50.702795] E [client3_1-fops.c:1525:client3_1_finodelk_cbk] 2-dstore-client-5: XDR decoding failed [2012-04-13 16:07:50.702842] W [client3_1-fops.c:1539:client3_1_finodelk_cbk] 2-dstore-client-5: remote operation failed: Invalid argument [2012-04-13 16:07:50.702876] I [afr-lk-common.c:572:afr_unlock_inodelk_cbk] 2-dstore-replicate-1: <gfid:dfee4a39-dd8b-4ba4-abfc-c192d39b9a52>/dir.4/file.1: unlock failed on 2 unlock by b838a6fa487f0000 [2012-04-13 16:07:50.702979] E [client3_1-fops.c:1525:client3_1_finodelk_cbk] 2-dstore-client-5: XDR decoding failed [2012-04-13 16:07:50.703038] W [client3_1-fops.c:1539:client3_1_finodelk_cbk] 2-dstore-client-5: remote operation failed: Invalid argument [2012-04-13 16:07:50.703761] I [afr-lk-common.c:572:afr_unlock_inodelk_cbk] 2-dstore-replicate-1: <gfid:dfee4a39-dd8b-4ba4-abfc-c192d39b9a52>/dir.4/file.1: unlock failed on 2 unlock by f4f3a6fa487f0000 [2012-04-13 16:07:50.704372] E [client3_1-fops.c:1525:client3_1_finodelk_cbk] 2-dstore-client-5: XDR decoding failed [2012-04-13 16:07:50.704445] W [client3_1-fops.c:1539:client3_1_finodelk_cbk] 2-dstore-client-5: remote operation failed: Invalid argument [2012-04-13 16:07:50.704503] I [afr-lk-common.c:572:afr_unlock_inodelk_cbk] 2-dstore-replicate-1: <gfid:dfee4a39-dd8b-4ba4-abfc-c192d39b9a52>/dir.4/file.1: unlock failed on 2 unlock by 88dba6fa487f0000 [2012-04-13 16:07:50.706048] E [client3_1-fops.c:1525:client3_1_finodelk_cbk] 2-dstore-client-5: XDR decoding failed [2012-04-13 16:07:50.706137] W [client3_1-fops.c:1539:client3_1_finodelk_cbk] 2-dstore-client-5: remote operation failed: Invalid argument [2012-04-13 16:07:50.707292] I [client-handshake.c:1429:client_setvolume_cbk] 2-dstore-client-5: Connected to 192.168.2.37:24011, attached to remote volume '/export2/dstore2'. Server Log:- ----------- [2012-04-13 16:07:50.678671] E [server-helpers.c:763:server_alloc_frame] (-->/usr/local/lib/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x360) [0x7fd83044d102] (-->/usr/local /lib/glusterfs/3.3.0qa34/xlator/protocol/server.so(server_finodelk+0xd4) [0x7fd827156f74] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/protocol/server.so(get_frame_fr om_request+0x89) [0x7fd82713d4ff]))) 0-server: invalid argument: conn [2012-04-13 16:07:50.682952] I [server-handshake.c:571:server_setvolume] 0-dstore-server: accepted client from 192.168.2.34:997 (version: 3.3.0qa34) [2012-04-13 16:07:50.683696] I [server-resolve.c:481:server_resolve_fd] 0-: fd not found in context [2012-04-13 16:07:50.683741] I [server3_1-fops.c:1320:server_flush_cbk] 0-dstore-server: 93885: FLUSH 1 (--) ==> -1 (Bad file descriptor) [2012-04-13 16:07:50.806532] I [server3_1-fops.c:1523:server_open_cbk] 0-dstore-server: 93890: OPEN (null) (--) ==> -1 (No such file or directory) [2012-04-13 16:07:50.822899] E [marker-quota-helper.c:230:mq_dict_set_contribution] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/debug/io-stats.so(io_stats_lookup+0x2 8c) [0x7fd827377b86] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/features/marker.so(marker_lookup+0x142) [0x7fd827595fc5] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlat or/features/marker.so(mq_req_xattr+0x123) [0x7fd8275a11e6]))) 0-marker: invalid argument: loc->parent [2012-04-13 16:07:50.823221] W [marker-quota.c:2047:mq_inspect_directory_xattr] 0-dstore-marker: cannot add a new contribution node [2012-04-13 16:07:50.870252] E [marker-quota-helper.c:230:mq_dict_set_contribution] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/debug/io-stats.so(io_stats_lookup+0x2 8c) [0x7fd827377b86] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/features/marker.so(marker_lookup+0x142) [0x7fd827595fc5] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlat or/features/marker.so(mq_req_xattr+0x123) [0x7fd8275a11e6]))) 0-marker: invalid argument: loc->parent [2012-04-13 16:07:50.870551] W [marker-quota.c:2047:mq_inspect_directory_xattr] 0-dstore-marker: cannot add a new contribution node [2012-04-13 16:07:51.116988] I [server3_1-fops.c:1523:server_open_cbk] 0-dstore-server: 93896: OPEN (null) (--) ==> -1 (No such file or directory) [2012-04-13 16:07:51.127612] I [server3_1-fops.c:1320:server_flush_cbk] 0-dstore-server: 93899: FLUSH -2 (--) ==> -1 (No such file or directory) [2012-04-13 16:07:51.331096] W [marker-quota.c:1284:mq_get_parent_inode_local] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/performance/io-threads.so(iot_inodelk_cbk+ 0x158) [0x7fd8279c70a7] (-->/usr/local/lib/libglusterfs.so.0(default_inodelk_cbk+0x158) [0x7fd83068083e] (-->/usr/local/lib/glusterfs/3.3.0qa34/xlator/features/marker. so(mq_inodelk_cbk+0x1d0) [0x7fd82759d912]))) 0-dstore-marker: contribution node list is empty which is an error Created attachment 577223 [details]
brick log form which XDR decoding failure got reported
Created attachment 577224 [details]
Mount log file
Not consistently reproducible. Removing it from the blocker list. |