"Found data inconsistencies: Firewall Global Address set not realized."global_addrset_mode_enabled flag is set to true on the NSX manager and ESXi host by following the below steps:
SSH to an NSX manager as the root user.
Check if the global_addrset_mode_enabled flag is set to true on the NSX manager with the following command. This will prompt for the admin password and display the global_addrset_mode_enabled status:
# curl -ku 'admin' https://localhost/api/v1/infra/settings/firewall/security | grep global_addrset_mode_enabled
A matching status will display: '"global_addrset_mode_enabled" : true,'
Execute the two Corfu tool commands to query the DfwFirewallConfiguration and InternalDfwFirewallConfiguration tables and note the status:
A matching status will display '# /opt/vmware/bin/corfu_tool_runner.py -n nsx -o showTable -t DfwFirewallConfiguration | grep globalAddrsetModeEnabled#/opt/vmware/bin/corfu_tool_runner.py -n nsx -o showTable -t InternalDfwFirewallConfiguration | grep globalAddrsetModeEnabled
"globalAddrsetModeEnabled": true' for each of those commands.SSH to an NSX prepared Host Transport Node as the root user.
Observe the global_addrset_mode_enabled status by using below nestdb-cli command:
# /opt/vmware/nsx-nestdb/bin/nestdb-cli --beautify --json --cmd get vmware.nsx.nestdb.GlobalConfigMsg | grep global_addrset_mode_enabled
A matching status will display '"global_addrset_mode_enabled" : true,'
SSH to an NSX manager as the root user.
Dump the GenericPolicyRealizedResource (GPRR) table to a text file:
# /opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t GenericPolicyRealizedResource > GPRR.txt
# cat GPRR.txt | grep "_infra_settings_firewall_security"
This KB applies if there are matching results.VMware NSX
The issue occurs due to an incorrect entry in the corfu database on the NSX manager.
This warning will be resolved in an upcoming NSX release.
To workaround and resolve this warning:
GPRR.txt file to the case.