datashim icon indicating copy to clipboard operation
datashim copied to clipboard

fix(csi-s3/issue-340): improve volume unmount reliability

Open MattPOlson opened this issue 4 months ago • 0 comments

  • Make NodeUnpublishVolume idempotent by checking mount status before unmounting
  • Ensure fuse process cleanup occurs even if unmount operation fails
  • Improve error handling and logging during unmount operations

This prevents errors when kubelet retries unmounting already-unmounted volumes and ensures orphaned fuse processes are properly cleaned up.

The changes address two key issues:

  1. nodeserver.go:168 - Added check to prevent errors on retry attempts
  2. mounter.go:66 - Improved error handling to ensure fuse process cleanup happens regardless of unmount success

MattPOlson avatar Oct 16 '25 13:10 MattPOlson