NSX Edge node status is Down due to controller unavailability.

Problem

NSX Edge node status is Down with controller connectivity status ‘unavailable’ because agent service down.

Cause

The get manager and get controller commands will return correct values but GET api/v1/transport-nodes/<tn-uuid>/status shows agent-status is Down. The error is due to the service nsx-opsagent is not running.

Solution

  1. Run admin cli get status nsx-opsagent to verify the service status.
  2. Start or restart the service by running admin cli, restart | start service nsx-opsagent