Uninstall of NSX-T from an ESXi host fails with error: com.vmware.nsx.bfd.tunnel.latency.enabled
search cancel

Uninstall of NSX-T from an ESXi host fails with error: com.vmware.nsx.bfd.tunnel.latency.enabled

book

Article ID: 319022

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Symptoms:
  • The environment was recently migrated from NSX for vSphere to NSX-T.
  • You are trying to uninstall NSX-T from an ESXi host.
  • The ESXi version is 7.x.
  • In the ESXi log /var/log/nsxaVim.log, the following WARNING messages appear:
2022-06-06T10:17:51Z nsxaVim: [21292232]: WARNING NSX properties in VDS [e6 15 0f 50 92 bc 2e a6-fb 43 7b 84 bd 08 8b 69] are not removed by cfgAgent yet.^@
2022-06-06T10:17:51Z nsxaVim: [21292232]: INFO Sleeping 1s before retrying hot-swap cvds ['e6 15 0f 50 92 bc 2e a6-fb 43 7b 84 bd 08 8b 69'], retry times left 59^@
2022-06-06T10:17:52Z nsxaVim: [21292232]: INFO Retrieved nsx config [(vim.dvs.HostDistributedVirtualSwitchManager.NsxDvsConfigInfo) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], globalOpaqueDataList = (vim.dvs.OpaqueData) [ (vim.dvs.OpaqueData) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], key = 'com.vmware.nsx.bfd.tunnel.latency.enabled', opaqueData = AA== }, (vim.dvs.OpaqueData) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], key = 'com.vmware.nsx.bfd.vtep.global.enabled', opaqueData = AA== }, (vim.dvs.OpaqueData) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], key = 'com.vmware.nsx.bfd.vtep.global.interval', opaqueData = AAAu4A== } ], hostOpaqueDataList = (vim.dvs.OpaqueData) [], globalKeyValueDataList = (vim.KeyValue) [], hostKeyValueDataList = (vim.KeyValue) [] }]
2022-06-06T10:17:52Z nsxaVim: for dvs [e6 15 0f 50 92 bc 2e a6-fb 43 7b 84 bd 08 8b 69]^@


Environment

VMware NSX-T

Cause

The error seen is because of the following leftover properties on the host switch, which the uninstallation process cannot remove:
com.vmware.nsx.bfd.tunnel.latency.enabled
com.vmware.nsx.bfd.vtep.global.enabled
com.vmware.nsx.bfd.vtep.global.interval

Resolution

This issue is resolved in NSX-T 3.2.1 available at VMware downloads .

Workaround:
The properties preventing uninstallation can be manually removed from the host switch, and del nsx can be re-attempted.
On the ESX host run the following commands to remove these properties:
net-dvs -u com.vmware.nsx.bfd.tunnel.latency.enabled -p globalPropList <NSX-VDS-Name>
net-dvs -u com.vmware.nsx.bfd.vtep.global.enabled -p globalPropList <NSX-VDS-Name>
net-dvs -u com.vmware.nsx.bfd.vtep.global.interval -p globalPropList <NSX-VDS-Name>


Then, enter the nsxcli shell by typing nsxcli and run the del nsx command.

Note: To identify the NSX-VDS-Name for the command above, you can run the following command on the ESXi host CLI, not the nsxcli shell:
nsxdp-cli vswitch instance list