GET /api/v1/latency-profiles
(/var/run/log/vmkernel.log):
2024-09-03T08:43:51.213Z vmkwarning: cpu32:18618342)WARNING: NetDVS: 3027: Failed to write critical property com.vmware.nsx.latency.param on port ########-####-####-####-############
, return :Bad parameter.
2024-09-03T08:43:51.213Z vmkernel: cpu32:18618342)Vmxnet3: 17427: Port_Enable failed for port 0x########
VMware NSX 4.2
The VMware NSX feature to collect latency statistics is configured using the DVS property com.vmware.nsx.latency.param
. In NSX 4.2, the format of the property was adjusted to reduced the memory footprint. However, the change in format makes the property value considered invalid in some cases. When the property is invalid, the port remains blocked.
This is a known issue impacting VMware NSX.
Workaround:
GET /api/v1/latency-profiles
DELETE /api/v1/latency-profiles/<latency-profile-id>
X-Allow-Overwrite: true
If you are proactively addressing this issue for an upgrade and the number of latency profiles in your environment is high, making manual removal impractical, please consider opening a case with Broadcom Support and refer to this KB article.
This issue may have been flagged by an upgrade pre-check. The prevention steps above should be implemented and VRNI latency metric collection disabled prior to upgrading of ESXi Host Transport Node to ensure no dataplane impact, once upgraded metric collection can be re-enabled.