Bug #10041
closedceph-fuse: never exit when no MDS server is available
0%
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.
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.
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".
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...
Updated by Zheng Yan over 9 years ago
- Status changed from New to Fix Under Review
Updated by Greg Farnum over 9 years ago
- Status changed from Fix Under Review to Resolved
Merged into master as of commit:1b22857f2bc945ad2f5e60a2cc6f9be24d977079.