Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-446 VolumeSnapshot size can be different from PVC requested storage preventing restore
  3. OADP-3035

[IBM QE-Z] Verify Bug OADP-446 - VolumeSnapshot size can be different from PVC requested storage preventing restore

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.3.0
    • None
    • None
    • None
    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • OADP Sprint 218
    • 1
    • 0
    • 0.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      Identified affected drivers (so far):

      • ebs.csi.aws.com

      EBS example
      It is possible in PVC to request 100MiB and get back 1GiB volume.
      This meant EBS snapshots created are going to be 1GiB in size.

      When using snapshot as datasource for PVC at restore time (at least for gp2-csi) the restore will fail with the following log.

      Generated from ebs.csi.aws.com_ip-10-0-173-234_d044058f-9322-45ea-9308-f860be97e73c
      9 times in the last 3 minutes
      failed to provision volume with StorageClass "gp2-csi": error getting handle for DataSource Type VolumeSnapshot by Name velero-pc-data-lmkpz: requested volume size 104857600 is less than the size 1073741824 for the source snapshot velero-pc-data-lmkpz
      

      https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/1209
      https://github.com/kubernetes-csi/external-provisioner/issues/727

              manilson-1 Maya Anilson (Inactive)
              akarol@redhat.com Aziza Karol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: