Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide better error message when migrating to the same host
In case the VM is migrated to the same host it is already running on, a misleading error message is shown in the Requests: "There are no hosts to use. Check that the cluster contains at least one host in Up state" Fixed by failing the migration with the better message: "Error: The VM 'vm name' can not be migrated to the same host it is already running on." The host is not filtered out from the "Migrate Virtual Machine" screen since this screen can be used to migrate more VMs at once and what is a good host for one VM is not for the other.
- Loading branch information