即使在OpenShift集群中正确删除了关联的PV和PVC、也不会删除Trident卷
适用场景
- RedHat OpenShift容器平台(OCP) 4.10
- NetApp Astra Trident 21.04.1
- ONTAP 9.x
问题描述
当客户从OpenShift中删除Trident PVC和PV时、不会自动删除此Trident卷
尝试删除Trident卷时、会显示以下错误:
tridentctl delete volume pvc-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -n trident > Error: could not delete volume pvc-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: error getting > volumeTransaction from CRD; Unauthorized (400 Bad Request) > command terminated with exit code 1