"Check if latency is configured during upgrade", "latency_check_description",FAILURE, "Latency profile can not be configured during upgrade. Please manually remove the configuration.
GET /api/v1/latency-profiles
./var/run/log/vmkernel.log
:
vmkwarning: cpu32:18618342)WARNING: NetDVS: 3027: Failed to write critical property com.vmware.nsx.latency.param on port ########-####-####-####-############, return :Bad parameter.
vmkernel: cpu32:18618342)Vmxnet3: 17427: Port_Enable failed for port 0x########
VMware NSX
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 reduce the memory footprint. However, the change in format makes the property value to be considered invalid in some cases. When the property is invalid, the port remains blocked.
This issue is resolved in VMware NSX 4.2.1.2, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround
GET /policy/api/v1/infra/latency-profiles
GET /api/v1/latency-profiles
DELETE /policy/api/v1/infra/latency-profiles
/<"id" identified in step 2>
GET /policy/api/v1/infra/latency-profiles
GET /api/v1/latency-profiles
Deleting an MP latency profile
DELETE /api/v1/latency-profiles
/<"id" identified in step 2>
Note: If there are multiple profiles, steps 2-4, will need to be iterated until all are removed. If the environment has an excessive number of profiles that cannot be removed manually, please consider opening a case with Broadcom Support and refer to this KB article.
This issue gets flagged in upgrade pre-check while upgrading to 4.2.1 onwards: "Latency profile cannot be configured during upgrade"
The prevention steps above should be implemented and vRNI latency metric collection disabled prior to upgrading of ESXi Host Transport Node to ensure no data plane impact. Once upgraded, metric collection can be re-enabled.
This issue will also trigger when Aria Operations for Networks was removed before unconfiguring the collector, resulting in an unused IPFIX Collector in NSX configuration:
If the collector can't be deleted through NSX UI, you can use API:
DELETE https://<nsx-manager>/policy/api/v1/infra/ipfix-dfw-collector-profiles/<collector-profile-id>
Ref.: DELETE /policy/api/v1/infra/ipfix-dfw-collector-profiles/{ipfix-dfw-collector-profile-id}