Bug 1441930

Summary: [geo-rep]: Worker crashes with [Errno 16] Device or resource busy: '.gfid/00000000-0000-0000-0000-000000000001/dir.166 while renaming directories
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.8CC: amukherj, asrivast, bugs, csaba, rhinduja, rhs-bugs, rtalur, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1434018 Environment:
Last Closed: 2017-05-29 04:58:58 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: 1434018    
Bug Blocks: 1440754    

Comment 1 Worker Ant 2017-04-13 07:08:02 UTC
REVIEW: https://review.gluster.org/17052 (geo-rep: Retry on EBUSY) posted (#1) for review on release-3.8 by Kotresh HR (khiremat)

Comment 2 Worker Ant 2017-04-13 07:08:07 UTC
REVIEW: https://review.gluster.org/17053 (geo-rep: Fix EBUSY traceback) posted (#1) for review on release-3.8 by Kotresh HR (khiremat)

Comment 3 Worker Ant 2017-04-19 10:15:38 UTC
COMMIT: https://review.gluster.org/17052 committed in release-3.8 by Aravinda VK (avishwan) 
------
commit 4ec3b624eb265058e3d953e96c1cb2df31c90ebd
Author: Kotresh HR <khiremat>
Date:   Mon Mar 20 05:21:59 2017 -0400

    geo-rep: Retry on EBUSY
    
    Do not crash on EBUSY error. Add EBUSY
    retry errno list. Crash only if the error
    persists even after max retries.
    
    > BUG: 1434018
    > Signed-off-by: Kotresh HR <khiremat>
    > Reviewed-on: https://review.gluster.org/16924
    > Smoke: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: Aravinda VK <avishwan>
    > CentOS-regression: Gluster Build System <jenkins.org>
    
    Change-Id: Ia067ccc6547731f28f2a315d400705e616cbf662
    BUG: 1441930
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: https://review.gluster.org/17052
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Aravinda VK <avishwan>

Comment 4 Worker Ant 2017-04-19 10:16:10 UTC
COMMIT: https://review.gluster.org/17053 committed in release-3.8 by Aravinda VK (avishwan) 
------
commit 649053cd4c5832fd0d3d9039cff9a1a839263408
Author: Kotresh HR <khiremat>
Date:   Fri Apr 7 05:33:34 2017 -0400

    geo-rep: Fix EBUSY traceback
    
    EBUSY was added to retry list of errno_wrap
    without importing. Fixing the same.
    
    > BUG: 1434018
    > Signed-off-by: Kotresh HR <khiremat>
    > Reviewed-on: https://review.gluster.org/17011
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > Smoke: Gluster Build System <jenkins.org>
    > Reviewed-by: Aravinda VK <avishwan>
    
    Change-Id: Ide81a9ccc9b948a96265b6890da078b722b45d51
    BUG: 1441930
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: https://review.gluster.org/17053
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Aravinda VK <avishwan>

Comment 5 Niels de Vos 2017-05-29 04:58:58 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.12, please open a new bug report.

glusterfs-3.8.12 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://lists.gluster.org/pipermail/announce/2017-May/000072.html
[2] https://www.gluster.org/pipermail/gluster-users/