Omer Frenkel has posted comments on this change.

Change subject: engine: do not report VM on error if migration fails
......................................................................


Patch Set 7:

(1 comment)

http://gerrit.ovirt.org/#/c/25090/7/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java:

Line 1401:         }
Line 1402:         if (exitStatus == VmExitStatus.Normal) {
Line 1403:             return AuditLogType.VM_DOWN;
Line 1404:         }
Line 1405:         if (cacheVm != null && exitStatus == VmExitStatus.Error && 
exitReason == VmExitReason.MigrationFailed) {
cacheVm != null means source host, i think it should be equals to null, right? 
(we want to check vm is in error and mig. failed on dest
Line 1406:             /* the VM is still up on the source host, so no need to 
report it in error */
Line 1407:             return AuditLogType.VM_DOWN;
Line 1408:         }
Line 1409:         return AuditLogType.VM_DOWN_ERROR;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I694dfa739af5edf37ae06b2dea2ad246f17777a2
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to