Repository navigation
Race conditions with client mount on management node reboot #81
|
This is a follow-up on #79 (see also #80). After fixing problem #79, we observe two race conditions with client mounts, one on the management node and another one on a different node. I'm not sure if this is expected or not. The startup log for the client on the management node is (it seems to be able to talk to the mgmtd at this point in time): Is that something as simple as adding the A second race occurs on remote client nodes. During reboot of the management node clients on other nodes hang as expected. However, when the mgmtd is up, the client operation (an Are we looking at an unlucky timeout that triggered just before the mgmtd came on-line again? Here the log minus trivial message repeats: Thanks for any pointers! |
Replies: 3 comments 9 replies
|
I should mention that we have a multi-mode set-up and it might be possible that the issue is related to that. The logs suggest that one meta data service is up and responding while another is not. The client doesn't wait for the second to become active and errs out prematurely. Here some extra information about the set-up: The services |
|
Hi @frsc-ku , When the client starts it will wait up to Adding |
|
Dear Joe, sorry for the slow reply, was on holidays. I think I need to report issues in a better prioritized order. The first one for the co-located beegfs client (please also read about the second issue further down) I could solve with a The second issue, however, is not that easy. Here we talk about a remote client crashing on storage server reboot or service restart. To be more precise, lets call the host running the BeeGFS file system
A scenario somewhat consistent with error handling but not preferred at all is that all attempts to access BeeGFS on With multi-mode meta-services this becomes a bit more involved and here is what I observe as an actual bug. We have a client on
This behavior is the worst of all possibilities and is likely not observed unless multi-mode is used. My absolute preference would be:
Mainly I would appreciate a consistent handling of restart of multiple meta-services on a single In case Thanks and best regards, |
Hi Frank,
That helps narrow things down so I can better explain what is likely happening.
First, running multiple services on the same machine (including all of them) is supported. Given a 4–5 minute server reboot, the mgmtd’s
node-offline-timeout(default 180s) is likely the culprit. When management comes back, it will initially consider services offline until they check in again.As metadata and storage nodes start to reconnect and report their state, the management notifies clients to refresh node/target states. Clients also poll on their own schedule, so refresh timing varies slightly between clients. Depending on when the root metadata node reports back relative to those refreshes, s…