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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In