Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure mount points are cleaned up #80

Merged
merged 1 commit into from
Aug 20, 2022

Conversation

kvaster
Copy link
Contributor

@kvaster kvaster commented Aug 20, 2022

In some situations CSI driver may shutdown without cleaning up mount points (global or pod specific):

  • on seaweedfs csi node update
  • on seaweedfs fuse process crash

In such situation only whole node (server) reboot will help to recovery from error, cause manual restart of dependent pods will stuck - kubelet will complain that it is not able to delete stale mount point. Forcing mount points cleanup resolves problem.

Also map of targetPaths is not actual anymore, cause targetPath is a bind mount, not a symbolic link anymore.

@chrislusf chrislusf merged commit 0ffb9c3 into seaweedfs:master Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants