Trident FSX failing to attach PVC to pod due to locked snapshots
Applies to
- Amazon FSx for NetApp ONTAP (FSxN)
- Astra Trident
- FSx automatic backups
- OADP/Velero
Issue
- When restarting pods, Persistent Volume Claims (PVCs) fail to attach.
- Error message in
kubectl describe podevents:Warning FailedAttachVolume attachdetach-controller Volume attachment is being deleted - Trident controller logs show repeated errors:
level=error msg="Unable to delete snapshot from backend." error="snapshot snapshotname backing volume trident_pvc_... is busy"level=error msg="Could not begin splitting clone from snapshot." error="errorsplittingclone;APIState:failure,Message:[JobID]Job failed: Volume has locked snapshots" - EMS logs on FSxN show clone split failures:
wafl.vv.clone.splitBusySnap: Volume has locked snapshots, not splitting.mgmtgwd.jobmgr.jobcomplete.failure: Job "CloneSplit" completed unsuccessfully: Volume has locked snapshots.
