Support for AWS gp3 EBS PersistentVolumes in OCP 4

Solution Verified - Updated -

Issue

  • In December 2020, AWS announced the availability of gp3, general purpose SSD volumes for Amazon EBS. Can these volumes be used for PersistentVolumes in OCP 4?
  • When creating a new PersistentVolumeClaim for a StorageClass with type: gp3, provisioning fails with the following error message:

    failed to provision volume with StorageClass "gp3-csi": rpc error: code = Internal desc = Could not create volume "pvc-231a4782-e22c-4c52-952d-950da6ae8e79": invalid AWS VolumeType "gp3"
    
  • The aws-ebs-csi-driver-controller Pod shows the following errors:

    E0107 12:51:46.862390       1 driver.go:111] GRPC error: rpc error: code = InvalidArgument desc = Invalid parameter key iops for CreateVolume
    E0107 12:52:49.800534       1 driver.go:111] GRPC error: rpc error: code = Internal desc = Could not create volume "pvc-231a4782-e22c-4c52-952d-950da6ae8e79": invalid AWS VolumeType "gp3"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Service on AWS (ROSA)
    • 4
  • Red Hat OpenShift Dedicated (OSD)
    • 4
  • Amazon Web Services (AWS)
  • Amazon Elastic Block Store (Amazon EBS)
  • PersistentVolume
  • StorageClass

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content