Kubelet logs UnmountVolume.NewUnmounter Failure logs On vol_data.json Is Deleted

Problem

Kubelet continuously logs below logs on failing to unmount a volume from a pod and filling up on disk usage.

Kubelet logs
Copy

Environment

  • Platform9 Managed Kubernetes - v5.3 and Higher

Cause

This is a known upstream bug https://github.com/kubernetes/kubernetes/issues/101911 and https://github.com/kubernetes/kubernetes/pull/102576

Workaround

  • Find the path of the pod mentioned in logs
Example
Copy
  • Check if the above pod running in the cluster
Command
Copy
  • Remove the content of those pod directories and restart pf9-kubelet
Command
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard