Provisioning host on VMware data store cluster using API fails with error InvalidDatastorePath: Invalid datastore path

Solution Verified - Updated -

Issue

  • Host provisioning on VMware data store cluster using API fails with below error:

    "error": {"id":null,"errors":{"base":["Failed to create a compute NUE-NOR (VMware) instance clienthost.example.com: InvalidDatastorePath: Invalid datastore path '[datastorename]'.\n "]},"full_messages":["Failed to create a compute NUE-NOR (VMware) instance clienthost.example.com: InvalidDatastorePath: Invalid datastore path '[datastorename]'.\n "]}
    
  • When provisioned from Red Hat Satellite Web UI host creation is successful but fail for API.

Environment

  • Red Hat Satellite 6.11

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