The create-edge-cluster action failed for NSX-T

Symptom

NSX-T was in state EDGE_CLUSTER_CREATE_FAILED.

Cause

Edge VMs were not able to find the right Datastore on the Resource Pod.

Action
  1. Check the CLI log (vmware-cli-<date>.log) available in /var/nps/logs/vmware folder in the NPS VM.
    Following is an example of the error displayed:
  2. Login to resource-datacenter using the Administrator credentials.
  3. Navigate to Storage > vsanDatastore.
  4. Verify that the vsanDatastore name is prefixed with the cluster name to which it belongs.

    For example: <clustername>_vsanDatastore.

  5. If the cluster name is not prefixed, select the vsanDatastore, right click and select Rename option.
  6. In the Rename window, append the vsanDatastore with the appropriate cluster name, and click OK.
  7. Rerun the vCloud autodeploy command.