Bug 1299724
Summary: | Excessive logging in mount when bricks of the replica are down | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | spandura |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> |
Status: | CLOSED ERRATA | QA Contact: | spandura |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | bugs, byarlaga, pkarampu, ravishankar, rcyriac, rhinduja, rhs-bugs, sankarshan, sbhaloth, storage-qa-internal |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | RHGS 3.1.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.5-18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1294053 | Environment: | |
Last Closed: | 2016-03-01 06:07:15 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: | 1294053 | ||
Bug Blocks: |
Description
spandura
2016-01-19 06:38:43 UTC
Samba-client logs getting filled heavily with following log messages : *********************************************************************** [2016-01-18 10:17:35.821196] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/li b64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.821247] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/li b64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.823257] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /d2 with [Subvol_name: testvol-r eplicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [2016-01-18 10:17:35.848572] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(+0x11c41) [0x7fd8bda62c41] -->/usr/lib64/glusterfs/3.7.5 /xlator/cluster/replicate.so(afr_replies_interpret+0x15e) [0x7fd8bda90e8e] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs. bad-inode [Invalid argument] [2016-01-18 10:17:35.848669] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(+0x11c41) [0x7fd8bda62c41] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x15e) [0x7fd8bda90e8e] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.848755] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.848816] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.850492] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(+0x11c41) [0x7fd8bda62c41] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x15e) [0x7fd8bda90e8e] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.850568] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(+0x11c41) [0x7fd8bda62c41] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x15e) [0x7fd8bda90e8e] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.850627] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.850679] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7fd8bda90edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7fd8bda90ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7fd8c22160cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-18 10:17:35.856216] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /d3 with [Subvol_name: testvol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [2016-01-18 10:17:35.889379] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(+0x11c41) [0x7fd8bda62c41] -->/usr/lib64/glusterfs/3.7.5: Geo-Replication client logs too field with the same logs: Note: None of the bricks were brought offline [2016-01-20 10:38:50.838346] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7f8fbccb5edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7f8fbccb5ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7f8fcae600cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-20 10:38:50.844804] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7f8fbccb5edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7f8fbccb5ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7f8fcae600cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-20 10:38:50.844945] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7f8fbccb5edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7f8fbccb5ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7f8fcae600cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-20 10:38:50.851509] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7f8fbccb5edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7f8fbccb5ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7f8fcae600cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] [2016-01-20 10:38:50.851623] I [dict.c:473:dict_get] (-->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_replies_interpret+0x1ad) [0x7f8fbccb5edd] -->/usr/lib64/glusterfs/3.7.5/xlator/cluster/replicate.so(afr_accuse_smallfiles+0x66) [0x7f8fbccb5ca6] -->/lib64/libglusterfs.so.0(dict_get+0xac) [0x7f8fcae600cc] ) 0-dict: !this || key=glusterfs.bad-inode [Invalid argument] The logs can appear when we do an mkdir/rmdir, even with all bricks are up. I have sent a downstream patch https://code.engineering.redhat.com/gerrit/66001 which contains http://review.gluster.org/#/c/13077/ and http://review.gluster.org/#/c/13185/ Verified the fix on the build "glusterfs-3.7.5-18.el7rhgs.x86_64". Bug is fixed. Moving the bug to verified state. 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. https://rhn.redhat.com/errata/RHBA-2016-0193.html |