NSX Manager error "An error occurred getting the cluster info"
search cancel

NSX Manager error "An error occurred getting the cluster info"

book

Article ID: 450338

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

In a VMware Cloud Foundation (VCF) environment, the NSX Manager CLI command get cluster status fails with a specific error message.

Symptoms:

  • Running get cluster status on the NSX Manager CLI returns: An error occurred getting the cluster info.
  • SDDC Manager dashboard or inventory does not display the NSX cluster status correctly.
  • Log files (cbm.log or Tanuki logs) show java.lang.OutOfMemoryError: Java heap space.

Environment

VMware NSX 4.2.1.#

VCF 5.#

Cause

  • Synchronization failure where the SDDC Manager inventory metadata becomes stale and fails to auto-recover the connection to the NSX cluster.

Resolution

  1. Perform a rolling reboot of the NSX Manager nodes to temporarily clear the java.lang.OutOfMemoryError 
  2. Force Inventory Synchronization: 

    • Execute the VCF brownfield sync script from the SDDC Manager to refresh the cached inventory relationship.

      python3 vcf_brownfield.py sync --domain-name '<domain_name>' --local-admin-password '<password>'

      Note: Replace <domain_name> and <password> with the appropriate environment values.