Arik Hadas has uploaded a new change for review.

Change subject: core: change the audit log for migration retry
......................................................................

core: change the audit log for migration retry

The audit log severity was changed from ERROR to WARNING and it was
rephrased to be more similar to the audit log which is used for retry to
run VM.

Change-Id: I3b43136ba87763e47ccf3ce9e41e41ae67df179d
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
M 
backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/67/34267/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
index 393924f..897b53e 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
@@ -460,7 +460,7 @@
     VM_FAILURE(66, AuditLogSeverity.ERROR),
     VM_MIGRATION_START_SYSTEM_INITIATED(67),
     VM_MIGRATION_TO_SERVER_FAILED(120, AuditLogSeverity.ERROR),
-    VM_MIGRATION_TRYING_RERUN(128, AuditLogSeverity.ERROR),
+    VM_MIGRATION_TRYING_RERUN(128, AuditLogSeverity.WARNING),
     VM_CANCEL_MIGRATION(161),
     VM_CANCEL_MIGRATION_FAILED(162, AuditLogSeverity.ERROR),
     VM_STATUS_RESTORED(163),
diff --git 
a/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
 
b/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
index 75fd18f..f86f5b1 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
@@ -256,7 +256,7 @@
 VM_MIGRATION_TO_SERVER_FAILED=Migration failed${DueToMigrationError} (VM: 
${VmName}, Source: ${VdsName}, Destination: ${DestinationVdsName}).
 VM_MIGRATION_START=Migration started (VM: ${VmName}, Source: ${VdsName}, 
Destination: ${DestinationVdsName}, User: ${UserName}).
 VM_MIGRATION_START_SYSTEM_INITIATED=Migration initiated by system (VM: 
${VmName}, Source: ${VdsName}, Destination: ${DestinationVdsName}).
-VM_MIGRATION_TRYING_RERUN=Migration failed${DueToMigrationError}. Trying to 
migrate to another Host (VM: ${VmName}, Source: ${VdsName}, Destination: 
${DestinationVdsName}).
+VM_MIGRATION_TRYING_RERUN=Failed to migrate VM ${VmName} to Host 
${DestinationVdsName}${DueToMigrationError}. Trying to migrate to another Host.
 VM_CANCEL_MIGRATION=Migration cancelled (VM: ${VmName}, Source: ${VdsName}, 
User: ${UserName}).
 VM_CANCEL_MIGRATION_FAILED=Failed to cancel migration for VM: ${VmName}
 VM_STATUS_RESTORED=VM ${VmName} status was restored to ${VmStatus}.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b43136ba87763e47ccf3ce9e41e41ae67df179d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to