Bug 1276562

Summary: Data Tiering:tiering deamon crashes when trying to heat the file
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: tieringAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: bugs, dlambrig, nbalacha, nchilaka, sankarshan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1276334
: 1277587 (view as bug list) Environment:
Last Closed: 2016-06-16 13:42:20 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: 1276334    
Bug Blocks: 1277587    

Comment 1 Vijay Bellur 2015-10-30 07:25:10 UTC
REVIEW: http://review.gluster.org/12469 (cluster/tier : Files skipped during tier query parsing) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Vijay Bellur 2015-10-30 18:52:06 UTC
REVIEW: http://review.gluster.org/12469 (cluster/tier : Files skipped during tier query parsing) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 3 Vijay Bellur 2015-10-31 17:53:52 UTC
REVIEW: http://review.gluster.org/12469 (cluster/tier : Files skipped during tier query parsing) posted (#3) for review on master by Dan Lambright (dlambrig)

Comment 4 Vijay Bellur 2015-11-02 20:30:26 UTC
REVIEW: http://review.gluster.org/12469 (cluster/tier : Files skipped during tier query parsing) posted (#4) for review on master by Dan Lambright (dlambrig)

Comment 5 Vijay Bellur 2015-11-03 04:56:13 UTC
REVIEW: http://review.gluster.org/12469 (cluster/tier : Files skipped during tier query parsing) posted (#5) for review on master by N Balachandran (nbalacha)

Comment 6 Vijay Bellur 2015-11-03 14:23:19 UTC
COMMIT: http://review.gluster.org/12469 committed in master by Dan Lambright (dlambrig) 
------
commit 499b43058049572e33b525ac669ef623d476fe41
Author: N Balachandran <nbalacha>
Date:   Fri Oct 30 12:46:22 2015 +0530

    cluster/tier : Files skipped during tier query parsing
    
    The tier query parsing code was using fscanf to read each record.
    As space is a delimiter for fscanf, filenames containing spaces
    caused the parsing to return unexpected values causing various
    issues in the tier process, including crashes due to buffer
     overflows.
    
    Change-Id: Ife602cb7ecb158fccbc2c89e4d2959bd97098a87
    BUG: 1276562
    Signed-off-by: N Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/12469
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>

Comment 7 Niels de Vos 2016-06-16 13:42:20 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