Omer Frenkel has submitted this change and it was merged.

Change subject: core: don't re-migrate vm after migration was canceled (#867347)
......................................................................


core: don't re-migrate vm after migration was canceled (#867347)

https://bugzilla.redhat.com/show_bug.cgi?id=867347

if migration was canceled, vm went back to up on the source,
this is identified as failure in migration, and re-run is called,
causing migration to run again.

this patch remove the vm from the async-running-vms list on
cancel-migration,
that way the vm will not be re-run when migration will be identified as
failed.

Change-Id: I9a8bf38bef90e5dfd0458cc13b8bb704f11d9f58
Signed-off-by: Omer Frenkel <[email protected]>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/CancelMigrateVDSCommand.java
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/8658
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a8bf38bef90e5dfd0458cc13b8bb704f11d9f58
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to