Error: Timed out while syncing indexes for 'Virtual Network Interface,Virtual Machine' 
search cancel

Error: Timed out while syncing indexes for 'Virtual Network Interface,Virtual Machine' 

book

Article ID: 430476

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Indexing timeout due to HostModelMsg transactions
UI may intermittently fail to display inventory correctly.
Intermittent UI issues caused by re-indexing delays.
Data path remains unaffected and continues to function as expected.

Error Screenshot:

Environment

VMware NSX

Cause

VMotions initiated by VC caused the DA to receive duplicate updates. These updates are used by inventory for syncing

Resolution

Note: The attached json file is specific to NSX version 4.2.1.0 to 4.2.1.3

Workaround:
1. Connect to the NSX node using SSH and navigate to the /etc/search/conf/search_registry directory
    cd /etc/search/conf/search_registry
2. Take a backup of the search_inventory.json file
    cp search_inventory.json search_inventory_backup.json
3. Replace search_inventory.json content with updated file content provided (Please check attachments).
4. Restart proton and cm-inventory
   /etc/init.d/proton restart
   /etc/init.d/cm-inventory restart
5. SSH as an admin user and perform a full-sync on the inventory using the command: start search resync inventory

Fixed in 4.2.1.4, 4.2.2 and 9.0

Attachments

search_inventory.json.gz get_app