GET https://NSX-Manager-IP/api/v1/infra/settings/firewall/security , the field 'enable_firewall' is set to true:enable_firewall = true
VMWare NSX 4.2.0.1
The cause is that search indexes are not completed. Because of this the NSX UI mistakenly reports the Disturbed Firewall as off and the rules are "Unknown" or "Deactivated".
Run the following command on each NSX Manager one at a time in admin mode:
start search resync all
Note: This command does not impact the data plane or the NSX infrastructure.
Workaround
Toggle Auto Draft in Distributed Firewall settings off and back on.
Note: This will only temporarily fix the issue, please run the above command to fix it permanently.
This issue does not impact the DFW on the management plane. Hosts will process rules (Deny, Drop or Allow) as normal. There is no data plane impact on the environment, this is purely an NSX UI issue.
In the API Call: GET https://NSX-Manager-IP/api/v1/infra/settings/firewall/security , the field 'enable_firewall' ensures the firewall is enabled.