This article provides steps to avoid the vim.fault.NoCompatibleHost error when restarting the virtual machine.
Symptoms:
For more information, see vSphere HA Checklist in vSphere Availability
For more information on virtual machine failed to restart, see vSphere Troubleshooting.
Determining hosts compatible for HA protected virtual machines