Trident 无法从后端删除快照,从而导致 PVC 在终止时挂起
适用场景
( Astra )适用于 Kubernetes /OpenShift 的 Trident
问题描述
Trident 尝试删除 PV 卷上的快照以删除该卷时出现以下错误:
time="DATE_TIME" level=info msg="Determined topology labels for node: map[]" node=K8S_NODE_N requestID=REQ_UUID requestSource=REST
time="DATE_TIME" level=error msg="Could not begin splitting clone from snapshot."
cloneVolumeName=CLONED_VOL_PVC_NAME
error="error splitting clone: API status: failed,
Reason: This volume cannot be split as it is configured for protection using Vserver level snapmirror.
Change the protection type using \"volume modify\" command to make it unprotected., Code: 13001"
parentVolumeName=ORIGINAL_VOL_PVC_NAME requestID=REQ_UUID
requestSource=CSI snapshotName=snapshot-UUID
time="DATE_TIME" level=error msg="Unable to delete snapshot from backend." backend=BACKEND_NAME
error="snapshot snapshot-UUID backing volume PREFIX_ORIGINAL_PVC_NAME is busy" requestID=REQ_UUID
requestSource=CSI snapshot=snapshot-UUID volume=ORIGINAL_PVC_NAME