Trident provisioning PVCs from CSI-Snapshots fails with resource not found
- Views:
- 260
- Visibility:
- Public
- Votes:
- 0
- Category:
- astra_trident
- Specialty:
- snapx
- Last Updated:
- 12/22/2022, 11:57:16 AM
Applies to
- Astra Trident 21.10 and higher
- Trident 20.01 to 21.07.1 (CSI-Snapshot support started, pre-Astra naming change)
- Kubernetes 1.20 and higher (v1 CSI-Snapshots)
Issue
When attempting to provision a new PVC from a CSI-Snapshot taken on Trident PV, the following error appears in the trident-controller-provision logs:
error syncing claim "<CLAIM_UUID>":
failed to provision volume with StorageClass "<STORAGE_CLASS_NAME>": error getting handle for DataSource Type
VolumeSnapshot by Name <CSI_SNAPSHOT_NAME>: error getting snapshot <CSI_SNAPSHOT_NAME> from api server:
the server could not find the requested resource (get volumesnapshots.snapshot.storage.k8s.io <CSI_SNAPSHOT_NAME>)