Noam Slomianko has uploaded a new change for review.

Change subject: <engine>: Enhanced loging of HA VM failure recovery
......................................................................

<engine>: Enhanced loging of HA VM failure recovery

Added additional entry in the engine's log when a highly available
VM fails and is restarted

Change-Id: Iea83a09b824dcd391cd42b030fccc52ebc82c436
Signed-off-by: Noam Slomianko <nslom...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/23/8923/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
index b0443f4..ad3aa2c 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
@@ -314,6 +314,8 @@
 
         // Alert that the virtual machine failed:
         AuditLogDirector.log(event, AuditLogType.HA_VM_FAILED);
+        log.infoFormat("Restart of the Highly Available VM was initiated due 
to failure. VM Name:{0}, VM Id:{1}", 
+                event.getVmName(), vmId);
 
         // Try to start it again:
         final VdcReturnValueBase result = 
Backend.getInstance().runInternalAction(VdcActionType.RunVm,


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

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

Reply via email to