-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
4
-
False
-
-
False
-
In Progress
-
-
-
0
-
0.000
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
https://access.redhat.com/support/cases/#/case/03480591/
- Completed backup/restore with CSI snapshotting enabled
- Complete new FS backup of previously restored volumes from CSI snapshot
- Restore from FS backupĀ
- Restore fails as PVR never completes, and PVC remains pending with event:
failed to provision volume with StorageClass "gp2-csi": error getting handle for DataSource Type VolumeSnapshot by Name velero-mssql-pvc-v787x: error getting snapshot velero-mssql-pvc-v787x from api server: volumesnapshots.snapshot.storage.k8s.io "velero-mssql-pvc-v787x" not found
PVC dataSourceRef is reset here: https://github.com/vmware-tanzu/velero-plugin-for-csi/blob/main/internal/restore/pvc_action.go#L71-L81 which causes the error.