Upgrading DVS can fail or get stuck for the distributed switches that has Mobility agent host created by IX appliance if the mobility agent host version is lesser than the version of the target DVS upgrade version.
We see the below error:
Some VMware ESX/ESXi hosts attached to the distributed switch are not compatible with the new distributed switch version. Upgrade or remove the incompatible host to proceed
We cannot remove the this Mobility agent host from the DVS as it is a dummy host.
VMware vCenter Server
VMware ESXi
The Mobility agent host created by IX appliance is a dummy host and it does not partake in changes in its configuration including host upgrade or DVS upgrade due to which in a scenario where the mobility agent host version is lesser than the DVS version we are trying to upgrade to, we will get the above error
Re-deploy the IX appliance Virtual machine. Make sure there are no ongoing migrations in the HCX.
This will create a new Mobility agent host with the version that is of the vcenter.
Post this we can upgrade the DVS as the host would be on the compatible version.