Bug 1336285

Summary: Worker dies with [Errno 5] Input/output error upon creation of entries at slave
Product: [Community] GlusterFS Reporter: Raghavendra G <rgowdapp>
Component: distributeAssignee: Raghavendra G <rgowdapp>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.8.0CC: amukherj, asrivast, avishwan, bugs, chrisw, csaba, mchangir, nbalacha, nlevinki, rhinduja, sarumuga, storage-qa-internal
Target Milestone: ---Keywords: Regression, Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1336284
: 1348060 (view as bug list) Environment:
Last Closed: 2016-06-16 12:32:10 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: 1325760, 1334164, 1336284    
Bug Blocks: 1311817, 1348060    

Comment 1 Vijay Bellur 2016-05-16 06:12:06 UTC
REVIEW: http://review.gluster.org/14350 (cluster/distribute: use a linked inode in directory heal codepath) posted (#1) for review on release-3.8 by Raghavendra G (rgowdapp)

Comment 2 Vijay Bellur 2016-05-16 06:12:52 UTC
REVIEW: http://review.gluster.org/14351 (cluster/distribute: heal layout in discover codepath too) posted (#1) for review on release-3.8 by Raghavendra G (rgowdapp)

Comment 3 Vijay Bellur 2016-05-24 09:03:15 UTC
REVIEW: http://review.gluster.org/14350 (cluster/distribute: use a linked inode in directory heal codepath) posted (#2) for review on release-3.8 by Niels de Vos (ndevos)

Comment 4 Vijay Bellur 2016-06-07 05:20:49 UTC
COMMIT: http://review.gluster.org/14350 committed in release-3.8 by Raghavendra G (rgowdapp) 
------
commit 445a3b741db8bb89fa126c3082ceda92732a5df9
Author: Raghavendra G <rgowdapp>
Date:   Wed May 11 17:49:10 2016 +0530

    cluster/distribute: use a linked inode in directory heal codepath
    
    This is needed for following reasons:
    * healing is done in lookup and mkdir codepath where inode is not
      linked _yet_ as normally linking is done in interface layers
      (fuse-bridge, gfapi, nfsv3 etc).
    
    * healing consists of non-lookup fops like inodelk, setattr, setxattr
      etc. All non-lookup fops expect a linked inode.
    
    Backport of commit 06f92634d9ad8aa5c56d786e5248016c283e5c5b:
    > Change-Id: I1bd8157abbae58431b7f6f6fffee0abfe5225342
    > BUG: 1334164
    > Signed-off-by: Raghavendra G <rgowdapp>
    > Reviewed-on: http://review.gluster.org/14295
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.com>
    > Smoke: Gluster Build System <jenkins.com>
    > Reviewed-by: Susant Palai <spalai>
    > Reviewed-by: mohammed rafi kc <rkavunga>
    
    Change-Id: I1bd8157abbae58431b7f6f6fffee0abfe5225342
    BUG: 1336285
    Signed-off-by: Raghavendra G <rgowdapp>
    Reviewed-on: http://review.gluster.org/14350
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 5 Vijay Bellur 2016-06-09 16:05:49 UTC
REVIEW: http://review.gluster.org/14351 (cluster/distribute: heal layout in discover codepath too) posted (#2) for review on release-3.8 by Niels de Vos (ndevos)

Comment 6 Niels de Vos 2016-06-16 12:32:10 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

Comment 7 Vijay Bellur 2016-06-19 12:50:21 UTC
REVIEW: http://review.gluster.org/14351 (cluster/distribute: heal layout in discover codepath too) posted (#3) for review on release-3.8 by Raghavendra G (rgowdapp)