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.
The controller cluster becomes unstable or unreachable during the clustering operation.
The shared secret provided to the controller does not match the shared secret used by the controller cluster.
- Delete the controller.
- From the NSX Manager UI, check the cluster status of the nodes in the controller cluster.
- Check that the shared secret used by the new controller is the same as the shared secret used by the controller cluster.
- Redeploy the controller.