Error 'The specified parameter "Size" is not valid' is shown on Alibaba Cloud

Solution Verified - Updated -

Issue

  • On Alibaba Cloud, when creating a PersistentVolumeClaim, creating the PersistentVolume fails. The command oc describe pvc ... shows the following error message:

    failed to provision volume with StorageClass "alicloud-disk": rpc error: code = Internal desc = SDK.ServerError
    ErrorCode: InvalidParameter
    ...
    Message: The specified parameter "Size" is not valid.
    

Environment

  • OpenShift Container Platform 4.10
  • Alibaba Cloud

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