Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/wip-11835' into greg-fs-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsfortytwo committed Sep 16, 2015
2 parents 2f43e23 + f97fde6 commit 1807963
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tasks/cephfs/fuse_mount.py
Expand Up @@ -7,6 +7,7 @@
from textwrap import dedent

from teuthology import misc
from teuthology.contextutil import MaxWhileTries
from teuthology.orchestra import run
from teuthology.orchestra.run import CommandFailedError
from .mount import CephFSMount
Expand Down Expand Up @@ -239,7 +240,12 @@ def umount_wait(self, force=False):

try:
if self.fuse_daemon:
self.fuse_daemon.wait()
# Permit a timeout, so that we do not block forever
run.wait([self.fuse_daemon], 900)
except MaxWhileTries:
log.error("process failed to terminate after unmount. This probably"
"indicates a bug within ceph-fuse.")
raise
except CommandFailedError:
pass

Expand Down

0 comments on commit 1807963

Please sign in to comment.