Missing fields when querying statistic for Edge Node kni-fp-eth0 interface
book
Article ID: 326336
calendar_today
Updated On:
Products
VMware NSX
Show More
Show Less
Issue/Introduction
Symptoms:
NSX-T 2.4.x is used. API to query statistics of an Edge Node kni-fp-eth0 do not return all expected fields, for example:
Expected: GET /api/v1/fabric/nodes/e06e89ba-6c15-11e9-97bb-00505688d88c/network/interfaces/kni- fp-eth1/stats { "interface_id" : "kni-fp-eth1", "rx_bytes" : 0, "rx_dropped" : 0, "rx_errors" : 0, "rx_frame" : 0, "rx_packets" : 0, "tx_bytes" : 0, "tx_carrier" : 0, "tx_colls" : 0, "tx_dropped" : 0, "tx_errors" : 0, "tx_packets" : 0, "source" : "cached" } Returned: GET /api/v1/fabric/nodes/e06e89ba-6c15-11e9-97bb-00505688d88c/network/interfaces/kni-fp-eth0/stats { "interface_id" : "kni-fp-eth0", "rx_bytes" : 0, "rx_errors" : 0, "rx_packets" : 0, "tx_bytes" : 0, "tx_errors" : 0, "tx_packets" : 0, "source" : "cached" }
Environment
VMware NSX-T VMware NSX-T Data Center
Cause
On Edge Nodes, kni-fp-ethX interfaces are Linux interface while fp-ethX interfaces are dpdk interface. Due a bug, kni-fp-eth0 is treated as a dpdk interface and only the dpdk interface statistics are returned.
Resolution
Currently there is not resolution
Feedback
thumb_up
Yes
thumb_down
No