由于 Kubernetes 环境中的 Trident 快照删除问题,Cohesity 备份失败
适用于
- NetApp Trident 26.2.0 及更高版本
- 具有 CSI/Trident 配置卷的 Kubernetes 集群
- Cohesity 备份与 Kubernetes PVC 的集成
- 使用卷克隆和基于快照的备份工作流的客户
问题
由于快照删除错误,使用 NetApp Trident 在 Kubernetes 环境中的 Cohesity 备份操作失败。观察到以下日志输出:
time="2026-04-09T16:49:16Z" level=debug msg="Could not delete the snapshot, going to check if it's busy; error was: APIState: failure, Message: Snapshot \\"snapshot-134a21a1-fd99-433a-817d-b9c553acb2ad\\" of volume \\"<ONTAP volume name>\\" in Vserver \\"<vserver name>\\" has not expired or is locked. Use the \\"snapshot show -fields owners, expiry-time, snaplock-expiry-time\\" command to view the expiry and lock status of the snapshot., Code:1638555" logLayer=core requestID=fc03abe3-8cc6-4189-b2ec-2d80ca782498 requestSource=CSI workflow="snapshot=delete"
症状包括:
- Snapshot 删除请求失败,显示"snapshot is locked or has not expired"
- Snapshot 由于支持克隆卷(来自 snapshot 的 PVC)而保持"busy"状态
- Trident 重试 snapshot 删除,导致备份和 snapshot 操作延迟或停滞
- 其他配置或清理操作延迟或停滞