nsxcli -c get controllers
returns % Failed to get controller list
/var/run/log/syslog.log
on the ESXi host:
In(14) jumpstart[2099923]: executing start plugin: nsx-pre-nestdbIn sequence:
In(14) jumpstart[2099923]: executing start plugin: nsx-nestdb
In(14) jumpstart[2099923]: nsx-nestdb started.
In(30) NSX[2101624]: nsx-pre-nestdb started
/etc/init.d/nsx-nestdb status
stopped
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX 4.2.x
esxcfg-info command in nsx-pre-nestdb script takes longer than expected to complete. This causes a delay in the execution of nsx-pre-nestdb which in turn affects nsx-nestdb as it completes startup before nsx-pre-nestdb.
This issue is resolved in VMware NSX 4.2.1.1 available at Broadcom Downloads
Steps to locate and download Broadcom products and software are available at Download Broadcom products and software
Workaround:
Manually start nestdb
service with the following command:
/etc/init.d/nsx-nestdb start