Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1275383

Summary: Data Tiering:Getting lookup failed on files in hot tier, when volume is restarted
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: Dan Lambright <dlambrig>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: mainlineCC: bugs, dlambrig, nchilaka, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1275158 Environment:
Last Closed: 2016-06-16 13:41:27 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: 1275158    
Bug Blocks: 1275382    

Comment 1 Vijay Bellur 2015-10-26 20:21:48 UTC
REVIEW: http://review.gluster.org/12430 (cluster/tier do not log error message on lookup heal for files on hot tier) posted (#1) for review on master by Dan Lambright (dlambrig)

Comment 2 Dan Lambright 2015-10-26 20:22:44 UTC
A file may exist on the hot tier because it was created before fix-layout reached it, or because it was created before the volume was stopped earlier. In either case this is not an error and should not be flagged as such, change the log to INFO.

Comment 3 Vijay Bellur 2015-10-27 22:18:22 UTC
REVIEW: http://review.gluster.org/12430 (cluster/tier do not log error message on lookup heal for files on hot tier) posted (#2) for review on master by Dan Lambright (dlambrig)

Comment 4 Vijay Bellur 2015-10-28 10:14:58 UTC
COMMIT: http://review.gluster.org/12430 committed in master by Dan Lambright (dlambrig) 
------
commit 3c6928f4daa6bd89ffa14049ba44337c049a9c89
Author: Dan Lambright <dlambrig>
Date:   Mon Oct 26 14:19:24 2015 -0400

    cluster/tier do not log error message on lookup heal for files on hot tier
    
    On fix-layout heal files are scanned. Files found are exist on the hot or cold
    subvolume. Those not found in the cold tier would exist on the hot. They
    should not be flagged as an error.
    
    Replace INFO with TRACE for common tier migration logs. Frequent migration
    was growing the log files too quickly.
    
    On migratation failures, do not acrue files towards cycle limit's budget.
    
    Change-Id: Ie832ee07c43bce5477ae81c939d1fe8416a11615
    BUG: 1275383
    Signed-off-by: Dan Lambright <dlambrig>
    Reviewed-on: http://review.gluster.org/12430
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Joseph Fernandes

Comment 5 Niels de Vos 2016-06-16 13:41:27 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user