% Exception when deleting nsx from host: ' error code: 4 stdout: delete_nsx_instance_from_host.sh: INFO: NSX reset script called with argument fabric_node on nsx-esx delete_nsx_instance_from_host.sh: INFO: Run transport_node reset on ESX node % Failed to remove all host switches or logical switches delete_nsx_instance_from_host.sh: ERROR: Failed to reset nsxa app of nsx-opsagent. Please check ospagent logs for more details. , stderr: Thu Mar 24 2022 UTC 10:08:06.532 ERROR: Failed to reset nsxa app of nsx-opsagent. Please check ospagent logs for more details.'
2022-03-24T10:09:07Z nsxaVim: [2102480]: WARNING NSX properties in VDS [xx 37 ## fa ## 16 ## 33-c2 ## 27 ## 17 ## 13 ##] are not removed by cfgAgent yet.^@
2022-03-24T10:09:07Z nsxaVim: [2102480]: ERROR Failed to hot-swap cvds ['xx 37 ## fa ## 16 ## 33-c2 ## 27 ## 17 ## 13 ##']^@
2022-03-24T10:09:07Z nsxaVim: [2102480]: INFO HotSwapCvds result: Failed to hot-swap cvds ['xx 37 ## fa ## 16 ## 33-c2 ## 27 ## 17 ## 13 ##']^@
VMware NSX-T Data Center 3.x
This issue is resolved in NSX-T Data Center 3.2.0 available at Download Broadcom products and software.
Workaround:
/usr/lib64/vmware/nsx-opsagent/bin/nsxcfg-vswitch -s
/etc/init.d/nsx-proxy stop
esxcli system snmp set --enable false
nsxcli -c del nsx