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

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.3.0-108
    • ToDo
    • OADP Sprint 218
    • 1
    • 0
    • 0
    • 0
    • Customer Escalated, Customer Facing
    • None

      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

            spampatt@redhat.com Shubham Pampattiwar
            tkaovila@redhat.com Tiger Kaovilai
            Sachin Singla
            Shahaf Bahar Shahaf Bahar
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: