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.
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.
- Description updated (diff)
- 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.
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".
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...
- Status changed from New to Fix Under Review
- Status changed from Fix Under Review to Resolved
Merged into master as of commit:1b22857f2bc945ad2f5e60a2cc6f9be24d977079.
Also available in: Atom
PDF