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
  3. OADP-1687

[IBM QE-P] Verify Bug OADP-1642 - CSI backup/restore to FS backup/restore fails

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            sgarudi Sonia Garudi
            mperetz@redhat.com Maya Peretz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: