Support for AWS gp3 EBS volumes in OpenShift Container Platform 4

Solution Verified - Updated -

Issue

  • In December 2020, Amazon Web Services (AWS) announced the availability of gp3, general purpose SSD volumes for Amazon Elastic Block Store (Amazon EBS). Can we use these volumes for PersistentVolumes?
  • 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

  • Amazon Web Services (AWS)
  • Red Hat OpenShift Container Platform (OCP) 3.x
  • Red Hat OpenShift Container Platform (OCP) 4.6
  • Red Hat OpenShift Container Platform (OCP) 4.7

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