Failed to provision volume with StorageClass "gp2": invalid AccessModes [ReadWriteMany]: only AccessModes [ReadWriteOnce] are supported

Solution Verified - Updated -

Issue

Every time when I wanted to create a storage ReadWriteMany, I got the following error:

Failed to provision volume with StorageClass "gp2": invalid AccessModes [ReadWriteMany]: only AccessModes [ReadWriteOnce] are supported

OCP Dedicated doesn't support ReadWriteMany PVC because it runs on Amazon. That is all the AWS EBS storage supports. See table 2 in this Openshift Dedicated document

Environment

  • Red Hat OpenShift Dedicated

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In