In VMware Cloud Foundation (VCF) 9.1, ESXi host remediation to version 9.1.0.0.200 may fail.
This occurs when hosts cannot enter maintenance mode due to DRS rule violations, or when subsequent vMotion operations are blocked because the migration module is disabled.
Remediation fails with the following error in the VCF UI or logs:
Failed getting host recommendation from DRS to enter maintenance mode... Reason: 'This operation would violate a virtual machine affinity/anti-affinity rule.'
Hosts are skipped after multiple retry attempts: Skipping remediating the following host(s) #### since no more retry attempts are available.
Manual vMotion fails with the error: Host 'Host FQDN' does not support this operation because it is disabled in vmkernel.
VMware Cloud Foundation 9.1
VMware vSphere ESXi 9.1.x
Virtual machine affinity or anti-affinity rules prevent DRS from automatically evacuating VMs to other hosts, blocking the host from entering maintenance mode.
A previously failed remediation attempt can leave the VMkernel migrate module in a disabled state (Enabled = 0), preventing the necessary vMotion operations for subsequent upgrade retries.
To resolve this issue and complete the upgrade, follow these steps:
Address DRS Rule Violations
Re-enable the Migration Module
Run the following command to check the migration status: vsish -e get /config/Migrate/intOpts/Enabled
Enable the module, If the current value returned is 0, run this command to enable it.vsish -e set /config/Migrate/intOpts/Enabled 1
Ensure the module loads on boot by running esxcli system module set -e true -m migrate
Restart the hostd & vpxa services of the host./etc/init.d/hostd restart/etc/init.d/ vpxa restart
Retry the virtual machine migration to the host.
Retry Upgrade Once rules are adjusted and the migration module is enabled, retry the remediation from the SDDC Manager or VCF Lifecycle UI.
Note: After a successful upgrade, remember to re-enable any VM/Host rules that were disabled.