Shubhendu Tripathi has uploaded a new change for review.

Change subject: gluster: Host state change event log msg corrected
......................................................................

gluster: Host state change event log msg corrected

Corrected the event log message shown when a host status is updated.
Earlier it used to show the message as "Detected new Host <Host Name>.
Host state was set to Up.". This used to be little confusing in case of
already existing host whose status is moved to Up from Non-Operational /
Non-responsive.

The same message is chnaged to "State was set to Up for <Host Name>.".
With the new changes the event log messages in case of a newly added
host would be in the form
"Host <Host Name> was added by admin@internal." followed by
"State was set to Up for <Host Name>".

and in the case of existing host, the only message would be -
"State was set to Up for <Host Name>".

Change-Id: I1e7be78c44afbec88039d2e92d133858c99ffe1e
Bug-Url: https://bugzilla.redhat.com/973629
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M 
backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/15828/1

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 3cc8f00..24d44c9 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
@@ -185,7 +185,7 @@
 VDS_ACTIVATE_ASYNC=Host ${VdsName} was autorecovered.
 VDS_ACTIVATE_FAILED=Failed to activate Host ${VdsName}.(User: ${UserName}).
 VDS_ACTIVATE_FAILED_ASYNC=Failed to autorecover Host ${VdsName}.
-VDS_DETECTED=Detected new Host ${VdsName}. Host state was set to ${VdsStatus}.
+VDS_DETECTED=State was set to ${VdsStatus} for host ${VdsName}.
 VDS_FAILURE=Host ${VdsName} is non-responsive.
 VDS_MAINTENANCE=Host ${VdsName} was switched to Maintenance Mode.
 VDS_MAINTENANCE_FAILED=Failed to switch Host ${VdsName} to Maintenance mode.


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

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

Reply via email to