Bug 1114045

Summary: DHT :- log is full of ' Found anomalies in /<DIR> (gfid = 00000000-0000-0000-0000-000000000000)' - for each Directory which was self healed
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachana Patel <racpatel>
Component: distributeAssignee: Sakshi <sabansal>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: mzywusko, nbalacha, rhinduja, smohan, spalai
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: triaged
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1281265 (view as bug list) Environment:
Last Closed: 2016-06-23 04:52: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: 1281265, 1299184, 1308410    

Description Rachana Patel 2014-06-27 14:26:36 UTC
Description of problem:
=======================
cause of any reasons if Directory has been self healed, log has below messages where 0 GFIDs are dumped in the log rather than the actual GFID of the directory.

:[2014-06-25 08:52:50.339861] I [dht-layout.c:663:dht_layout_normalize] 0-snap-dht: Found anomalies in /zile (gfid = 00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0




Version-Release number of selected component (if applicable):
=============================================================
3.6.0.19-1.el6rhs.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1.Create and mount Distributed Volume
2. Create Directories from mount point and make sure It is not created on all up sub-volumes.
3. send lookup from another mount point.
4. check logs for self-healed Directory 0 GFIDs are dumped rather than actual

Actual results:
===============
[2014-06-25 08:52:50.339861] I [dht-layout.c:663:dht_layout_normalize] 0-snap-dht: Found anomalies in /zile (gfid = 00000000-0000-0000-0000-000000000000). Holes=1 overlaps=0

Expected results:
=================
should show Actual GFID of Directory


Additional info:
================

Comment 6 Susant Kumar Palai 2015-12-24 07:15:38 UTC
upstream:  http://review.gluster.org/12574

Comment 10 krishnaram Karthick 2016-04-21 06:16:27 UTC
Verified this bug in glusterfs-3.7.9-1.el7rhgs.x86_64

Proper gfid is updated in the logs instead of mere 0. 

[2016-04-20 04:43:55.283084] I [MSGID: 109063] [dht-layout.c:702:dht_layout_normalize] 0-gfid-issue-dht: Found anomalies in /testdir (gfid = ed111c75-37be-4e74-9cc9-10a94cf86179). Holes=2 overlaps=0

Marking this bug as verified.

Comment 12 errata-xmlrpc 2016-06-23 04:52: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.

https://access.redhat.com/errata/RHBA-2016:1240