VMware Networking Community
kaiuto23
Contributor
Contributor
Jump to solution

NSX Controller Failed to Deploy "waiting for controller ready"

First time using the community so please let me know if I'm breaking any rules.

I have a lab running at home and I'm trying to deploy NSX so I can study with hands on experience. I'm struggling with deploying an NSX controller. I keep getting this error "waiting for NSX controller ready controller-14 failed in deployment- Timeout on waiting for controller ready" I know this is basically saying hey I never heard back from this guy so I'm canceling this deployment but I can't figure out why its failing. I know why it never hears back from the controller and that's because I can never ping it from any device. (NSX-Manager, ESXi host its on, and the SVI on the switch) I have a vDS with one port group on vlan 23 (SVI on a 3560 as the D.G.) where all my other VMs are and they work fine. I deployed a Win-7 VM in this Port group to make sure its not that and the VM worked perfectly with no networking problems. I have triple checked the IP pools and they have the correct subnet, DG, Domain, DNS, and IP info. The Controller is being deployed on the same network as the manager so there's no routing going on between the manger and controller. I have looked on Google and none of the solutions have helped me solve this. I searched on the forums here and didn't find anything. After checking the pools I made sure the port the controller is connected to is on vlan 23 and shows as up(green) but nothing can talk to it. I have tried deploying it on different hosts with no success. I have the host part setup but I cant get a controller to deploy. Also I can never login to the controller after its deployed if that helps at all. If anyone can throw some suggestions my way I would appreciate it.

Side notes,

NTP is setup and working with synced times, DNS is good to go, Everything can talk to each other besides the controller being deployed.

Thanks for looking,

K.

1 Solution

Accepted Solutions
Sreec
VMware Employee
VMware Employee
Jump to solution

You need to install a rest client on your browser and perform a rest call to get authenticated to respective NSX manager so that you can perform some of the tasks like

GET Query an object to read information pertaining to NSX manager and it’s objects and components

POST Change NSX configuration and create objects or components

DELETE Delete NSX configuration, objects, or components

1. Install rest client

2. Open the rest client from browser

3. Add the authentication headers - in the below example i have added a authentication header with NSX manager credentials and URL is NSX IP/FQDN

pastedImage_0.png

4. If you select the right method call - GET and click send you will get authenticated

5. Since we are performing POST operation addition headers  are required

Add an additional Header with the value Content-Type and Value with the string application/xml

6. Paste the respective POST body and change the URL to URL: https://NSXMGR_IP/api/1.0/services/debug/script and perform a POST operation and follow the same for second script.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered

View solution in original post

5 Replies
Sreec
VMware Employee
VMware Employee
Jump to solution

Looks like you have done all basic testing . Please do check -> VMware Knowledge Base

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
Reply
0 Kudos
kaiuto23
Contributor
Contributor
Jump to solution

Thanks Sreec, I'm trying to use their fix but having some trouble opening the two scripts so I can copy/paste them into a rest api. What Program do you open them up in? Sorry being such a novice.

Thanks for the help.

Reply
0 Kudos
Sreec
VMware Employee
VMware Employee
Jump to solution

You need to install a rest client on your browser and perform a rest call to get authenticated to respective NSX manager so that you can perform some of the tasks like

GET Query an object to read information pertaining to NSX manager and it’s objects and components

POST Change NSX configuration and create objects or components

DELETE Delete NSX configuration, objects, or components

1. Install rest client

2. Open the rest client from browser

3. Add the authentication headers - in the below example i have added a authentication header with NSX manager credentials and URL is NSX IP/FQDN

pastedImage_0.png

4. If you select the right method call - GET and click send you will get authenticated

5. Since we are performing POST operation addition headers  are required

Add an additional Header with the value Content-Type and Value with the string application/xml

6. Paste the respective POST body and change the URL to URL: https://NSXMGR_IP/api/1.0/services/debug/script and perform a POST operation and follow the same for second script.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
Sateesh_vCloud
Jump to solution

I know it's hard to read the PDF docs - but let me share which I refer for REST API doubts

https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.3/nsx_63_api.pdf

------------------------------------------------------------------------- Follow me @ www.vmwareguruz.com Please consider marking this answer "correct" or "helpful" if you found it useful T. Sateesh VCIX-NV, VCAP 5-DCA/DCD,VCP 6-NV,VCP 5 DCV/Cloud/DT, ZCP IBM India Pvt. Ltd
kaiuto23
Contributor
Contributor
Jump to solution

Thanks for the explanation, I executed both scripts and got a 200 response but still no dice. I'm going to move forward with updating my environment to resolve this Issue.

I appreciate your time,

Kyle

Reply
0 Kudos