Arik Hadas has uploaded a new change for review.

Change subject: core: assure migration jobs are completed
......................................................................

core: assure migration jobs are completed

Add missing call to failedToRunVm method when VM migration fails because
the VM went down on the destination and source during the migration,
this call assures that the migration job is completed in this case as
well.

Change-Id: Iee82fc63b09d53e085fe32c710b43b5cc9b1498b
Bug-Url: https://bugzilla.redhat.com/891634
Signed-off-by: Arik Hadas <aha...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/18471/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
index c004baf..4ac9ea6 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java
@@ -305,6 +305,7 @@
             _isRerun = true;
             setSucceeded(false);
             log();
+            failedToRunVm();
         }
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee82fc63b09d53e085fe32c710b43b5cc9b1498b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <aha...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to