We recently ran into an issue within our NSX lab whereby we were tearing down the environment to reinstall it. The area that gave us some grief was with the host preparation uninstall.
It appeared to be uninstalling, but when refreshing the Web client the uninstalls failed across all three of our hosts.
In this situation you can attempt to uninstall the NSX vibs manually on each host.
The three NSX vibs involved are;
The steps to manual removal are listed below;
- ssh to host
- esxcli software vib list (just to list the vibs)
Note: That the
esx-dvfilter-switch-securityvib was not listed in our scenario and your mileage may vary.
- esxcli software vib remove -n esx-vxlan
- esxcli software vib remove -n esx-vsip
- esxcli software vib remove -n esx-dvfilter-switch-security
In our scenario, the removal of all vibs failed.
The solution to this was to reboot the host(s)! It appears that the modules were removed, but were still running in memory. This correlates with the guidance from VMware that vib removal sometimes requires a host reboot.
Once the hosts are rebooted, you can see in the NSX host preparation tab that the cluster is now ready for host preparation once more.
At this point we were able to continue with the NSX deployment.