NSX-T inventory provides stale information when Proton and Discovery agent are started/restarted at around same time
search cancel

NSX-T inventory provides stale information when Proton and Discovery agent are started/restarted at around same time

book

Article ID: 321122

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Symptoms:
  • NSX-T Inventory does not show current state of VMs.
  • A running VM may be powered off, but inventory shows it as running.
  • A VM may be added to the host, but it is not seen in the inventory UI or API.


Environment

VMware NSX-T Data Center 2.x
VMware NSX-T Data Center

Cause

NSX-T Discovery Agent (DA) is a process that runs on the host which communicates with proton service on NSX Manager to populate the inventory information. When both the services are started or restarted at around same time, there is a possibility that the DA process waits forever for communication with Proton. In this case DA does not send latest inventory information to proton.

Resolution

This is a known issue affecting VMware NSX-T Data Center 2.2.0.

Currently, there is no resolution.

Workaround:
To work around this issue:
  1. Log in to NSX manager from the User Interface (UI) and make sure you are able to see the inventory portal.
  2. Check the hosts for which VM updates are not received.
  3. Log in to the affected hosts as root.
  4. Restart the discovery agent by running this command:

    /etc/init.d/nsx-da restart