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

Uninstall of NSX 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

  • The environment was recently migrated from NSX for vSphere to NSX-T.
  • You are trying to uninstall NSX-T from an ESXi host.
  • 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 ## ## ##-## ## ## 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 ## ## ##-## ## ## 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 ## ## ##-## ## ## 84 bd 08 8b 69]



Environment

VMware NSX-T Datacenter
vSphere ESXi

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 Broadcom downloads.

Workaround:
The properties preventing uninstallation can be manually removed from the host switch, and del nsx can be re-attempted.

  • Step 1:
    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>

  • Step 2:
    From the ESXi host command line run the following command 
    nsxcli -c del nsx

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