The
create-transport-nodes action fails during NSX-T deployment
Symptom
NSX-T was in the state
TRANSPORT_NODES_CREATE_FAILED.
Cause
This happens when the vCloud autodeploy command is trying to send an API POST request to NSX-T server to create a transport node while the host is still being prepared.
Action
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:
If the status displayed is
Error, then proceed to the next step.
To disable SELinux, run the following command:
setenforce 0
To restart Kubernetes Services, run the following command:
systemctl restart kubelet
To check the status of Kubernetes Service, run the following command:
systemctl status kubelet
The Kubernetes Service must be in
Running state.
To recheck the status of all Kubernetes pods, run the following command:
kubectl get pods --all-namespaces
Once the Kubernetes is in
Running state, enable SELinux using the following command: