Project

General

Profile

Actions

Bug #10041

closed

ceph-fuse: never exit when no MDS server is available

Added by Dmitry Smirnov over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm attempting to mount CephFS using Fuse client (i.e. ceph-fuse) which do not exit if all MDS servers are down (I waited for 4.5 hours on 0.87 "Giant").
A timeout should be implemented to allow ceph-fuse to give up unsuccessful mount attempt within reasonable time, certainly under 5 min.

Actions #1

Updated by Dmitry Smirnov over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Greg Farnum over 9 years ago

  • Priority changed from High to Normal

Was it blocking in the foreground? Did SIGKILL (ie, control-C) work on it?

We can add a configurable timeout but I'm not sure how useful it is if it's blocking in the foreground and responds to signals anyway.

Actions #3

Updated by Dmitry Smirnov over 9 years ago

Although it terminates on "Ctrl+C" a timeout would be very useful because it would prevent system from hanging on boot when mount is configured in "/etc/fstab".

Actions #4

Updated by Dmitry Smirnov over 9 years ago

Just wanted to add that lack of timeout causes havoc all over the place... Autofs, backup scrips mounting CephFS on demand are all hanging... The above-mentioned fstab mounts that are especially nasty because boot never finishes and remote interaction is not possible due to fstab mount hangs before SSHD is started... Timeout is necessary...

Actions #5

Updated by Zheng Yan over 9 years ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Greg Farnum over 9 years ago

  • Status changed from Fix Under Review to Resolved

Merged into master as of commit:1b22857f2bc945ad2f5e60a2cc6f9be24d977079.

Actions

Also available in: Atom PDF