Views:

Summary



After moving virtual machines to a new Vsphere instace the ECX backup policies started failing with unable to find VM errors.

Symptoms



Running Virtual Machine protection policy fails with error:
  • WARN,1527668049923,Wed 30 May 2018 08:14:09 UTC,2,GET request for "http://localhost:8082/api/vsphere/1001/vm/564dfbcf-222b-6420-fdf2-a3c6a5297bf6" resulted in 404 (Not Found); invoking error handler
  • ERROR,1527668049927,Wed 30 May 2018 08:14:09 UTC,2,Protection of vm(s) failed : 404 Not Found.
  • INFO,1527668049929,Wed 30 May 2018 08:14:09 UTC,2,Collecting details of vms and data stores
Virtual machines were moved from one vSphere instance to another.

Resolution



When the VM is moved from one vSphere instance to another one , it is required to open and edit the job to redefine the selection, as the policy definition is still expecting the job to reside under the old vSphere instance. 

Once the job is corrected, the protection policy locates the correct Virtual machine and runs successfully.