NSX Manager Search service status is not UP
search cancel

NSX Manager Search service status is not UP

book

Article ID: 385577

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • NSX Manager Search service status is Degraded/Down
  • Any of the below error messages may appear:
    • Error messages:
      • Index is currently out of sync for ''resource_type:<list of resource types>'', system is trying to recover
      • Search index is out of sync for ''resource_type:<list of resource types>'' Run the ''start search resync {1}'' CLI command on the NSX appliance to resync. If the issue persists, contact Broadcom Support
      • Search framework initialization failed, please restart the service via ''restart service <service name>’’.
      • Search service is currently unavailable, please restart using ''restart service search'' and resync using ''start search resync all'' CLI commands on the NSX appliance.
      • Search service is currently unavailable, please restart using NSX CLI command ''restart service search’’.
      • Search service health status is degraded. Run the ''start search recover'' CLI command on NSX node: <node ip>.”
      • The service is not responding.

The solution will depend on the specific Error message received. Please check the 'Resolution' section.

Environment

  • VMware NSX
  • VMware VCF 9.x
  • VCF Networking

 

Cause

  • Degraded status: The search service is degraded if there are failures in indexing one or more entities.
  • Down status: The search service can be down due to one of the following causes:
      • Search framework initialization failed
      • Search service is unavailable and resync is required
      • The search service is unavailable
      • The search indices are in an unhealthy state
      • The manager service is down

Please check the 'Resolution' section.

Resolution

Steps to Resolve
For VCF 9.0 and higher

Recommended Actions:

  1. Degraded status: The search service is degraded if there are failures in indexing one or more entities. In such cases, one of the following two error messages may appear:
    1. Indexing failures in recovery state
          1. Error message: Index is currently out of sync for ''resource_type:<list of resource types>'', system is trying to recover.
          2. Recommendation: This indicates an error in indexing one or more entity types. The failures in indexing are retried ten times. In case it's an intermittent failure this message should go away in the next couple of retries and the search service would get into a healthy state. In case the retries do not succeed it gets into the non-recoverable failure state.
    2. Non-recoverable indexing failures
          1. Error message: Search index is out of sync for ''resource_type:<list of resource types>'' Run the ''start search resync {1}'' CLI command on the NSX appliance to resync. If the issue persists, contact Broadcom Support.
          2. Recommendation: This indicates a non-recoverable error in indexing one or more entity types. Please try to resync by executing the CLI and in case the issue continues to persist please reach out to the support for help on this issue.


  2. Down status: The search service can be down due to one of the following causes:
    1. Search framework initialization failed
          1. Error message: Search framework initialization failed, please restart the service via ''restart service <service name>’’.

          2. Recommendation: This error indicates a failure in the search framework initialization task. As advised in the error message please restart the service.

    1. Search service is unavailable and resync is required  

          1. Error message:  Search service is currently unavailable, please restart using ''restart service search'' and resync using ''start search resync all'' CLI commands on the NSX appliance.

          2. Recommendation: This indicates an operational issue with the search service. As indicated in the message please restart the search service by executing the CLI ''restart service search'' and then resync the data by executing ''start search resync all'' CLI.

    2. The search service is unavailable
          1. Error message: Search service is currently unavailable, please restart using NSX CLI command ''restart service search’’.
          2. Recommendation: This indicates that the search service is not running and must be restarted.
    3. The search indices are in an unhealthy state

          1. Error message: Search service health status is degraded. Run the ''start search recover'' CLI command on NSX node: <node ip>.”

          2. Recommendation: As indicated in the error message please execute the CLI to recover the search service.

    4. The manager service is down
          1. Error message: The service is not responding.
          2. Recommendation: This indicates that the manager service is down. When the manager is down the search service is marked as down too. Please restart the manager service using the CLI "restart service manager".

Additional Information

Impact:

In case the search service is degraded/down it impacts the functioning of the NSX UI