Sending an empty description field when creating a new storage domain using the RESTAPI fails with: "Storage Domain description must not exceed 4000 characters"

Solution Unverified - Updated -

Issue

  • When you sent an empty description field to create a new storage domain, you will get an error about the description field being too long

    $VAR1 = {
        'detail' => '[Storage Domain description must not exceed 4000 characters, Attribute: privateStorageDomain.description]',
        'reason' => 'Operation Failed'
      };
    

Environment

  • Red Hat Virtualization (RHV) 4.2

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