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
- 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.
- Ensure that NSX Application Platform is deployed correctly and is reported as STABLE on the UI page.
- Wait for the precheck items to complete and verify the outcome for each row.
- For any item marked as Failed, point to the icon to view details.
- 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.
- Ensure the license requirements stated as part of a failure are satisfied.
- Ensure you have at least 25% CPU and memory available in your Kubernetes cluster.
- If the precheck failure does not provide information about the failure, gather additional information.
- Collect an NSX Application Platform support bundle and inspect the logs for any Kubernetes pod with the name starting with nsx-ndr-precheck.
- Alternatively, the logs can also be queried interactively on the NSX Manager appliance using the following steps.
- Log in to the NSX Manager appliance as root.
- Use the following command to mark the Kubernetes configuration for any subsequent helm and kubectl invocations.
export KUBECONFIG=/config/vmware/napps/.kube/config
- 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. - 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. - 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>
- After resolving the reported errors, try activating the NSX Network Detection and Response feature again.