Bug 1387216

Summary: [geo-rep]: [Errno 16] Device or resource busy: '/tmp/gsyncd-aux-mount-5BA95I'
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, csaba, rhinduja, rhs-bugs, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1338693 Environment:
Last Closed: 2018-08-29 03:35:51 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: 1338693    
Bug Blocks:    

Description Aravinda VK 2016-10-20 11:21:10 UTC
+++ This bug was initially created as a clone of Bug #1338693 +++

Description of problem:
=======================

Following traceback on aux-mount is observed during geo-rep sanity cases which does fops create,chmod,chown,chgrp,symlink,hardlink,truncate,rename and rmdir. This is most likely during rmdir. 

[2016-05-22 17:45:05.458262] E [resource(/bricks/brick0/master_brick2):1292:inhibit] <top>: mount cleanup failure:
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1290, in inhibit
    self.cleanup_mntpt(mntpt)
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1316, in cleanup_mntpt
    os.rmdir(mntpt)
OSError: [Errno 16] Device or resource busy: '/tmp/gsyncd-aux-mount-G3GogE'
[2016-05-22 17:45:05.460496] E [resource(/bricks/brick1/master_brick8):1292:inhibit] <top>: mount cleanup failure:
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1290, in inhibit
    self.cleanup_mntpt(mntpt)
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 1316, in cleanup_mntpt
    os.rmdir(mntpt)
OSError: [Errno 16] Device or resource busy: '/tmp/gsyncd-aux-mount-5BA95I'



How reproducible:
=================
1/2


Steps Carried:
==============

Found during automation cases of geo-rep {tarssh+fuse}

Comment 1 Worker Ant 2016-10-20 11:22:34 UTC
REVIEW: http://review.gluster.org/15686 (geo-rep: Prevent worker crash if aux mount cleanup fails) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 2 Amar Tumballi 2018-08-29 03:35:51 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.