Bug 1290048

Summary: [Tier]: Failed to open "demotequeryfile-master-tier-dht" errors logged on the node having only cold bricks
Product: [Community] GlusterFS Reporter: Joseph Elwin Fernandes <josferna>
Component: tieringAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.7.6CC: bugs, byarlaga, dlambrig, josferna, nchilaka, rhinduja, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1289578 Environment:
Last Closed: 2016-04-19 07:50:21 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: 1289578    
Bug Blocks: 1260783    

Comment 1 Vijay Bellur 2015-12-09 14:56:36 UTC
REVIEW: http://review.gluster.org/12928 (tier : Spawn promotion or demotion thread depending on local bricks) posted (#1) for review on release-3.7 by Joseph Fernandes

Comment 2 Vijay Bellur 2015-12-09 17:30:48 UTC
COMMIT: http://review.gluster.org/12928 committed in release-3.7 by Dan Lambright (dlambrig) 
------
commit b7bdcc39b057ef6057778bd0ab8f36376fd76db0
Author: Joseph Fernandes <josferna>
Date:   Tue Dec 8 18:56:31 2015 +0530

    tier : Spawn promotion or demotion thread depending on local bricks
    
    Spawn Promotion or Demotion depending if there are any Cold or Hot
    bricks present localy.
    IF the local HOT brick list is empty dont spawn demote thread.
    IF the local COLD brick list is empty dont spawn promote thread.
    
    Backport of http://review.gluster.org/12912
    
    > Change-Id: I524730e59414dd156c78ec0bd7a3629212697e6e
    > BUG: 1289578
    > Signed-off-by: Joseph Fernandes <josferna>
    > Reviewed-on: http://review.gluster.org/12912
    > Tested-by: NetBSD Build System <jenkins.org>
    > Reviewed-by: N Balachandran <nbalacha>
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Dan Lambright <dlambrig>
    > Tested-by: Dan Lambright <dlambrig>
    Signed-off-by: Joseph Fernandes <josferna>
    
    Change-Id: Ic3113934051c7a751ae56508e00d098d010f4c0e
    BUG: 1290048
    Reviewed-on: http://review.gluster.org/12928
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>

Comment 3 Kaushal 2016-04-19 07:50:21 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.7.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user