Bug 1315659

Summary: [Tier]: Following volume restart, tierd shows failure at status on some nodes
Product: [Community] GlusterFS Reporter: hari gowtham <hgowtham>
Component: tieringAssignee: hari gowtham <hgowtham>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, hgowtham, kramdoss, nchilaka, rhinduja, rkavunga
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: tier-glusterd
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1288051
: 1318498 (view as bug list) Environment:
Last Closed: 2016-06-16 13:59:45 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: 1288051    
Bug Blocks: 1276245, 1318498    

Comment 1 Vijay Bellur 2016-03-08 11:24:46 UTC
REVIEW: http://review.gluster.org/13646 (TIER: stopping the tierd when the volume goes down) posted (#1) for review on master by hari gowtham (hari.gowtham005)

Comment 2 Vijay Bellur 2016-03-08 19:21:01 UTC
REVIEW: http://review.gluster.org/13646 (TIER: stopping the tierd when the volume goes down) posted (#2) for review on master by hari gowtham (hari.gowtham005)

Comment 3 Vijay Bellur 2016-03-08 19:39:27 UTC
REVIEW: http://review.gluster.org/13646 (TIER: stopping the tierd when the volume goes down) posted (#3) for review on master by hari gowtham (hari.gowtham005)

Comment 4 Vijay Bellur 2016-03-14 04:51:03 UTC
REVIEW: http://review.gluster.org/13646 (TIER: stopping the tierd when the volume goes down) posted (#4) for review on master by Dan Lambright (dlambrig)

Comment 5 Vijay Bellur 2016-03-15 06:06:06 UTC
COMMIT: http://review.gluster.org/13646 committed in master by Dan Lambright (dlambrig) 
------
commit 4d37476f264bdb7e213f302840ac3238dc6d9791
Author: hari gowtham <hgowtham>
Date:   Tue Mar 8 16:38:34 2016 +0530

    TIER: stopping the tierd when the volume goes down
    
    If there are large number of files to be migrated
    and by this time if the volume goes down, then the tierd
    has to be stopped. But on a huge query file list it keeps
    checking for each file before stopping. If the volume comes
    up before the old tierd dies then due to the
    presence of old tierd new one won't be created. After
    the old one completes the task, it dies and the status
    ends up as failed.
    
    This patch will check if the status is still running and then let
    it continue its work. Else it will stop running the tierd.
    
    Change-Id: I6522a4e2919e84bf502b99b13873795b9274f3cd
    BUG: 1315659
    Signed-off-by: hari gowtham <hgowtham>
    Reviewed-on: http://review.gluster.org/13646
    Tested-by: Dan Lambright <dlambrig>
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 6 Niels de Vos 2016-06-16 13:59:45 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