Volumes are not automatically detached even after the attached node is deleted
Applies to
- Trident 21.10.1
- Kubernetes 1.22.5
- Node to which the volumes are attached is deleted
Issue
VolumeAttachment
object is still attached to the deleted node- Pod gets stuck in the
ContainerCreating
state becauseVolumeAttachment
fails by the following error:
rpc error: code = NotFound desc = node <DELETED_NODE> was not found