Bug 1046294

Summary: AFR : For every file self-heal there are warning messages reported in glustershd.log file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: spandura
Component: glusterfsAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED ERRATA QA Contact: spandura
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: grajaiya, pkarampu, vagarwal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.53rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1046853 (view as bug list) Environment:
Last Closed: 2014-02-25 08:10:17 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: 1046853    

Description spandura 2013-12-24 11:20:55 UTC
Description of problem:
==========================
For every file self-heal , the following warning messages are reported in the glustershd.log file. 

[2013-12-24 10:16:18.218448] D [afr-self-heald.c:412:_self_heal_entry] 0-vol_rep-replicate-0: lookup <gfid:df51e281-0a25-4a19-9cd3-d08be37426e5>
[2013-12-24 10:16:18.218601] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x304) [0x7f59c2024e54]))) 0-dict: !this || key=attempt-self-heal
[2013-12-24 10:16:18.218687] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x329) [0x7f59c2024e79]))) 0-dict: !this || key=foreground-self-heal
[2013-12-24 10:16:18.218765] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x34e) [0x7f59c2024e9e]))) 0-dict: !this || key=dry-run-self-heal
[2013-12-24 10:16:18.218796] D [afr-common.c:131:afr_lookup_xattr_req_prepare] 0-vol_rep-replicate-0: <gfid:df51e281-0a25-4a19-9cd3-d08be37426e5>: failed to get the gfid from dict


[2013-12-24 10:16:18.225412] D [afr-self-heald.c:412:_self_heal_entry] 0-vol_rep-replicate-0: lookup <gfid:eff50388-2a6a-4fcb-b41a-7f0946866e6a>
[2013-12-24 10:16:18.225564] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x304) [0x7f59c2024e54]))) 0-dict: !this || key=attempt-self-heal
[2013-12-24 10:16:18.225652] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x329) [0x7f59c2024e79]))) 0-dict: !this || key=foreground-self-heal
[2013-12-24 10:16:18.225730] W [dict.c:391:dict_del] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(_self_heal_entry+0xa8) [0x7f59c2017f58] (-->/usr/lib64/libglusterfs.so.0(syncop_lookup+0x1a9) [0x7f59c6c8d5e9] (-->/usr/lib64/glusterfs/3.4.0.52rhs/xlator/cluster/replicate.so(afr_lookup+0x34e) [0x7f59c2024e9e]))) 0-dict: !this || key=dry-run-self-heal
[2013-12-24 10:16:18.225761] D [afr-common.c:131:afr_lookup_xattr_req_prepare] 0-vol_rep-replicate-0: <gfid:eff50388-2a6a-4fcb-b41a-7f0946866e6a>: failed to get the gfid from dict


Version-Release number of selected component (if applicable):
=============================================================
glusterfs 3.4.0.52rhs built on Dec 19 2013 12:20:16

How reproducible:
==================
Often

Steps to Reproduce:
=====================
1. Create a 1 x 3 replicate volume. Start the volume. 

2. Bring down a brick. 

3. Create fuse mount and create files and directories. 

4. Bring back the brick. Start heal. 

Actual results:
==================
Warning messages observed.

Comment 3 spandura 2014-01-03 08:49:43 UTC
Verified the fix on the build "glusterfs 3.4.0.53rhs built on Dec 30 2013 10:10:44" with the steps mentioned in the bug description. Bug is fixed. Moving the bug to VERIFIED state.

Comment 5 errata-xmlrpc 2014-02-25 08:10:17 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/RHEA-2014-0208.html