Skip to main content

Troubleshooting: Volume cannot be cleaned up after the node of the workload pod is down and recovered

· One min read
Derek Su

Applicable versions

All Longhorn versions.

Symptoms

Volume cannot be cleaned up after the node of the workload pod is down and recovered.

Solution

The root cause is a race condition in the pod cleanup process of Kubernetes. It is fixed since Kubernetes 1.22.0+ according to this commit.

Longhorn issue #3080