Trident volume cannot be deleted or resized due to stale tridenttransactions
Applies to
- Trident
- Kubernetes
- ONTAP 9
Issue
- Trident volume cannot be deleted or resized due to stale tridenttransactions.
- The Trident logs show similar to below:
"...level=error msg="GRPC error: rpc error: code = Unknown desc = object is being deleted: tridenttransactions.trident.netapp.io..."
"... Warning  VolumeFailedDelete... rpc error: code = Unknown desc = object is being deleted: tridenttransactions.trident.netapp.io..."
or
"...level=error msg="Could not resize volume." error="object is being deleted: tridenttransactions.trident.netapp.io..." 
- There are stale tridenttransactions
Example:
# kubectl get tridenttransactions -n trident
NAME                                       AGE
pvc-6e38163a-32b1-4c19-9532-239b47dc6087   42d
pvc-7b003302-d445-41e3-9df4-df3359641be5   42d 
