The Security Intelligence feature upgrade failed.

Problem

An attempt to upgrade the Security Intelligence feature did not complete successfully due to an invalid Docker registry error.

Cause

When an invalid Docker registry value is provided, the Security Intelligence update fails with the InvalidImageName error. Security Intelligence becomes unavailable and gets into an Unstable state.

Solution

To resolve the issue, perform the following steps.

  1. Log in to the NSX Manager appliance with the root account.

  2. At the system prompt, run the following command and identify the most recent NSX Application Platform version that had been deployed.

    napp-h history nsxi-platform -n nsxi-platform
  3. Using the following command, delete the jobs from the failed upgrade command.

    napp-k delete jobs $(kubectl get jobs -n nsxi-platform -o custom-columns=:.metadata.name)
  4. Rollback to the last successful revision found in step 1 using the following command.

     napp-h rollback nsxi-platform <REVISION> -n nsxi-platform