Bug 1338693

Summary: [geo-rep]: [Errno 16] Device or resource busy: '/tmp/gsyncd-aux-mount-5BA95I'
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED ERRATA QA Contact: Rahul Hinduja <rhinduja>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: avishwan, csaba, khiremat, nchilaka, rallan, sheggodu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: rebase
Fixed In Version: glusterfs-3.12.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1387216 (view as bug list) Environment:
Last Closed: 2018-09-04 06:29:40 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:    
Bug Blocks: 1387216, 1503134    

Description Rahul Hinduja 2016-05-23 09:39:48 UTC
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'



Version-Release number of selected component (if applicable):
=============================================================

glusterfs-3.7.9-5.el7rhgs.x86_64

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


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

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

Comment 4 Aravinda VK 2016-10-20 11:24:12 UTC
Upstream patch sent: http://review.gluster.org/15686

Comment 6 Aravinda VK 2017-06-20 11:29:30 UTC
Upstream patch https://review.gluster.org/#/c/17015/ fixes this issue.(Already merged in Upstream)

Comment 9 Rahul Hinduja 2018-05-08 09:30:37 UTC
Verified with build: glusterfs-geo-replication-3.12.2-8.el7rhgs.x86_64

Ran the usecase mentioned in comment 3 and description. Havent seen this issue. Moving this bug to verified state. 

Regression cycle will cover this scenario and if the issue is seen than will open a new bug to triage.

Comment 11 errata-xmlrpc 2018-09-04 06:29:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2607