In NSX manager, the hosts are showing "unknown"
search cancel

In NSX manager, the hosts are showing "unknown"

book

Article ID: 414275

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

The hosts are showing "unknown", even though the NSX managers are up via SSH session.

 

Environment

NSX 4.#

Cause

The NSX proxy was in a failed state. 

The nsx-nestdb wasn't running.

[root@<hostname>:/etc/init.d] ./nsx-nestdb restart
NSX-NESTDB service is not running
NSX-NESTDB started
[root@<hostname>:/etc/init.d] ./nsx-opsagent restart
Shutting down opsAgent watchdog
watchdog-opsAgent[10596520]: Terminating watchdog process with PID 2945770
Shutting down opsAgent service
..........
Unable to shutdown opsAgent service
Terminating opsAgent service
opsAgent service is stopped
sh: you need to specify whom to kill
opsAgent service is stopped
/var/log/nsx exists
opsAgent start watchdog
opsAgent started
[root@<hostname>:/etc/init.d] ./nsx-proxy restart
Shutting down nsx-proxy watchdog
watchdog-nsx-proxy[10597380]: Terminating watchdog process with PID 2945501
Shutting down nsx-proxy service
.....
Unable to shutdown nsx-proxy service
Terminating nsx-proxy service
nsx-proxy service is stopped
host/vim/vmvisor/nsx-proxy
Resource pool 'host/vim/vmvisor/nsx-proxy' released.
nsx-proxy is stopped
tnuuid = 
NSX Host Certificate exists
nsx-proxy starts

Resolution

SSH'd into the hosts that are showing "Unknown" and restarted the following: 

  • /etc/init.d/nsx-nestdb restart
  • /etc/init.d/proxy restart
  • /etc/init.d/opsagent

If the above does not resolve the condition, please reboot the esxi hosts.

If the host continues to show in "unknown" state, please open a support request with Broadcom and include the following information:

  • Log bundle from affected node.
  • NSX Manager log bundle - Management plane only (unless edge is affected).