Change in ovirt-engine[master]: core: don't re-migrate vm after migration was canceled (#867...

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Oct 21 08:01:05 UTC 2012


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 <ofrenkel at redhat.com>
---
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 <ofrenkel at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>



More information about the Engine-commits mailing list