The NSX Network Detection and Response feature activation wizard reports an error while performing the precheck step.

Problem

The NSX Network Detection and Response activation wizard performs prechecks to verify:

  • Form Factor
  • License
  • Capacity

Any errors encountered are displayed on the NSX Network Detection and Response activation wizard. If the activation wizard reports an error during the precheck step, the NSX Network Detection and Response feature activation becomes blocked and the Activate button remains dimmed.

Cause

The precheck step validates the form factor. You must have Advanced form factor. The precheck step also validates the available NSX licenses you are entitled to use for the NSX Network Detection and Response feature. If also verifies the required capacity in your Kubernetes cluster.

Solution

  1. If your NSX Manager appliance is configured to use a web proxy for Internet-bound connections, ensure that the web proxy is configured correctly and is reachable from the workloads running in the Kubernetes cluster used for NSX Application Platform.
  2. Ensure that NSX Application Platform is deployed correctly and is reported as STABLE on the Systems > NSX Application Platform UI page.
  3. Wait for the precheck items to complete and verify the outcome for each row.
    1. For any item marked as Failed, point to the icon to view details.
    2. Update your existing form factor to the Advanced form factor in the NSX Application Platform as described in the Deploying and Managing the VMware NSX Application Platform.
    3. Ensure the license requirements stated as part of a failure are satisfied.
    4. Ensure you have at least 25% CPU and memory available in your Kubernetes cluster.
  4. If the precheck failure does not provide information about the failure, gather additional information.
    1. Collect an NSX Application Platform support bundle and inspect the logs for any Kubernetes pod with the name starting with nsx-ndr-precheck.
    2. Alternatively, the logs can also be queried interactively on the NSX Manager appliance using the following steps.
      1. Log in to the NSX Manager appliance as root.
      2. Use the following command to mark the Kubernetes configuration for any subsequent helm and kubectl invocations.
        export KUBECONFIG=/config/vmware/napps/.kube/config
      3. Using the following command, ensure that the NSX Network Detection and Response precheck helm chart was deployed successfully.
        helm --namespace nsxi-platform list --all --filter 'nsx-ndr-precheck'
        Verify that the STATUS property displays deployed.
      4. Using the following command, inspect the events for any precheck pods that have been deployed.
        kubectl --namespace nsxi-platform describe pod --selector='app.kubernetes.io/instance=nsx-ndr-precheck'
        The Events section provides status of the precheck jobs and any actions associated with those jobs.
      5. To inspect the logs for any precheck pods that have been deployed, use the following command.
        kubectl --namespace nsxi-platform get pods --selector='app.kubernetes.io/instance=nsx-ndr-precheck' -o wide
        For each pod listed in RUNNING or COMPLETED state, view the logs using the following command.
        kubectl --namespace nsxi-platform logs --container=main <pod-name>
  5. After resolving the reported errors, try activating the NSX Network Detection and Response feature again.