When deploying a controller through the API (POST /api/v1/cluster/nodes/deployments) or the NSX Manager UI, you get the error Failed to add the cluster node VM to a cluster - No stable node or cluster found to join.

Cause

  • The controller cluster state is unstable during the clustering operation.

Solution

  • Delete the controller.
  • From the NSX Manager UI, check that the cluster status of the nodes in the controller cluster is Up.
  • Redeploy the controller.