2024-02-15T19:26:49.817Z ERROR pool-80-thread-1 UfoInitializer 85532 - [nsx@6876 comp="nsx-manager" errorCode="MP60525" level="ERROR" subcomp="cm-inventory"] [Search: Initialization] Exception while fetching metadata with id inventory org.opensearch.OpenSearchStatusException: OpenSearch exception [type=no_shard_available_action_exception, reason=No shard available for [get [inventory_metadata][_doc][inventory]: routing [null]]]
2024-02-15T19:56:33.970Z INFO pool-51-thread-1 UfoReIndexingManager 85532 - [nsx@6876 comp="nsx-manager" level="INFO" subcomp="cm-inventory"] [Indexing: Reindexing] Waiting for search framework initialization. Initialization status: FAIL
VMware NSX 4.x
This issue is resolved in VMware NSX 4.2.0
Workaround:
Execute the below commands in root mode on all the NSX-T Manager nodes starting with the non-VIP leader nodes first.
Alternatively, a rolling reboot of the NSX Manager VMs starting with the non-VIP leader nodes first can be performed.
After following the above work around steps, if the issue is not resolved in any one of the manager nodes and if the issue still persists with errors: "Index is currently out of sync, system is trying to recover. INDEXING_FAILURE (Error code: 60515)"
Then execute the following commands in the admin mode of that manager node to resolve the issue: