Trident does not allow to import an ontap volume to more than one PVC
Applies to
- NetApp Astra Trident 22.07
- NetApp ONTAP 9.X
- NFS protocol
Issue
When trying to import the same ontap volume to different PVCs in different namespaces, it fails with the error:
tridentctl import volume volume_name test -f pvc-name.yaml --no-manage -n trident
Error: could not import volume: PV pvc-xxxxxxxx-yyyy-zzzz-xxxx-yyyyyyyyyyyy already exists for volume test (400 Bad Request)
command terminated with exit code 1