Planned migration fails with an error in an environment with 2 ESXihosts in a cluster.

Problem

If there are two ESXi hosts in a cluster and one host loses connectivity to the storage, the other host can usually recover replicated virtual machines. In some cases the other host might not recover the virtual machines and recovery fails with the following error: Error: Unable to copy the configuration file...

Solution

Rerun the recovery.