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

Backport upstream pull 6964 to OADP

XMLWordPrintable

    • False
    • Hide

      None

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

      The customer using OADP v1.3.0 running using a third-party csi-drivers that sets the restoreSize of the VolumeSnapshots to 0, which is causing issues while exposing the snapshots using DataMover.

       

      apiVersion: snapshot.storage.k8s.io/v1
      kind: VolumeSnapshot
      ...
      status:
      ...
        readyToUse: true
        restoreSize: "0" 
        message: 'error to expose snapshot: error to create backup pvc: error to create
          pvc: PersistentVolumeClaim "xxxxxxxxxxxxxxxxxxx" is invalid: spec.resources[storage]:
          Invalid value: "0": must be greater than zero' 

      According to the upstream code, this was be fixed on: https://github.com/vmware-tanzu/velero/pull/6976 starting on velero 1.13 

      According to our version relationship this is not currently available on the velero version shipped with OADP, so might be required to backport this issue to OADP v1.3.0

            wnstb Wes Hayutin
            rhn-support-lperezbe Luis Perez Besa
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: