Trident import of volume is failing when using volumeName in YAML file
Applies to
- Trident Kubernetes
- Trident Openshift
Issue
Volume import into Trident is failing
The command line returns an error on accessing
https://127.0.0.1:<PORT>/trident/volume/import,
and from the Eventsof the trident-controller POD:
level=error msg="GRPC error: rpc error: code = NotFound desc = volume pvc-<UUID> was not found"
level=info msg="Found PVC for requested volume pvc-<UUID>." UID=<UUID> name=<PVC_NAME> namespace=<PVC_NAMESPAEC> requestID=<REQUEST_UID> requestSource=CSI size="{{<SIZE_IN_BYTES> 0} {<nil>} <SIZE_IN_BYTES> DecimalSI}" storageClass=trident-csi
level=error msg="GRPC error: rpc error: code = Unknown desc = PVC <PVC_NAME> is not in Pending state"