Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-1642

CSI backup/restore to FS backup/restore fails

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • QE - Ack
    • oadp-velero-container-1.1.4-3
    • ToDo
    • Important
    • 8
    • 0
    • Very Likely
    • 0
    • Customer Escalated, Customer Facing
    • None
    • Unset
    • Unknown
    • No

      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.

            emcmulla@redhat.com Emily McMullan
            wnstb Wes Hayutin
            Amos Mastbaum Amos Mastbaum
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: