This article explains an issue where NSX-T Manager shows zero statistics for DFW rules, even though the rules are being evaluated and hit, as evidenced by host logs and CLI outputs. This discrepancy occurs due to miscommunication between the NSX Manager and ESXi hosts or NSX Manager and Edge nodes.
2025-01-21T20:43:08.689Z Er(179) nsx-exporter[2100545]: NSX 2100545 - [nsx@6876 comp="nsx-esx" subcomp="agg-service" tid="2100677" level="ERROR" errorCode="MPA10014"] [GetNextResponseInfo] Incoming pull stat request is invalid
nsx-exporter: NSX 8597797 - [nsx@6876 comp="nsx-esx" subcomp="agg-service" level="ERROR" errorCode="MPA10014"] [SummationStatsRequestHandler][IDPSRuleStats]: Bad summation stats request: -1
2025-01-29T14:14:42.419Z xxxxxxxxxx NSX 1876 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="2161" level="INFO"] [GetNextResponseInfo] Incoming pull stat request with seq:159705, ack:142484
2025-01-29T14:14:42.419Z xxxxxxxxxx NSX 1876 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="2161" level="INFO"] [GetNextResponseInfo] Current internal _lastSent: 125, _lastAck: 124
2025-01-29T14:14:42.419Z xxxxxxxxxx NSX 1876 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="2161" level="ERROR" errorCode="MPA10014"] [GetNextResponseInfo] Incoming pull stat request is invalid
2025-01-29T14:14:42.419Z xxxxxxxx NSX 1876 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="2161" level="ERROR" errorCode="MPA10014"] [SummationStatsRequestHandler][AggSvc-Routing]: Bad summation stats request: -1
2025-01-29T14:14:42.419Z xxxxxxxxxx NSX 1876 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="2161" level="WARNING"] [DequeueRxCallbackMsg] ProcessRxCallbackMsg failed for app [AggSvc-Routing]
VMware vDefend Firewall
The issue arises from a mismatch in how rule statistics are synchronized between the NSX Manager and the ESXi hosts. Specifically:
Use the API to verify the rule statistics on the affected ESXi hosts:
curl -k -u https://<host-IP>/api/v1/firewall/sections/<section-id>/rules/<rule-id>/stats
curl -k -u -X POST "https://<NSX-Edge-IP>/api/v1/directory/ldap-server?action=CONNECTIVITY"
Use the following API to Check policy-level statistics:
curl -k -u https://<manager-IP>/policy/api/v1/infra/domains/default/security-policies/<policy-id>/statistics
Use the following API to Check manager-level statistics:
curl -k -u https://<manager-IP>/api/v1/firewall/sections/<section-id>/rules/<rule-id>/stats
If this issue is observed, please open an SR with Broadcom Support so that we can determine a full RCA.
If the issue needs to be resolved immediately, please follow these workaround steps:
grep 'MPA10014" /var/run/nsx-syslog.log
grep 'MPA10014" /var/log/syslog