Volume status is in-use error when recreating a pod
The Volume status is in-use error when recreating a pod occurs when a persistent volume does not have time to unmount from the old node. This is a feature of the interaction between Kubernetes and OpenStack.
- Check the version of Cinder CSI and update it if necessary.
- If the persistent volume is stuck for a long time, manually detach it via OpenStack CLI to unlock the status:
openstack server remove volume
Was this article helpful?