abort migration if the vmi is deleted or in the process of being deleted
@@ -1037,7 +1037,7 @@ func (d *VirtualMachineController) migrationTargetExecute(key string,
shouldUpdate = true
}
- if !vmiExists && vmi.DeletionTimestamp != nil {
+ if !vmiExists || vmi.DeletionTimestamp != nil {
shouldAbort = true
} else if vmi.IsFinal() {
shouldAbort = true
