Ramesh N has uploaded a new change for review.

Change subject: gluster: event message for stop remove brick
......................................................................

gluster: event message for stop remove brick

Adding event message for stop remove brick action.

Change-Id: I2fdf50f6395e61578edab8319b0740d2c8fb0082
Signed-off-by: Ramesh Nachimuthu <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java
M 
backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
M 
frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
M 
frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
4 files changed, 7 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/09/21909/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java
index 0349cc9..8780986 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java
@@ -68,6 +68,8 @@
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REMOVE_BRICKS_FAILED);
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.START_REMOVING_GLUSTER_VOLUME_BRICKS);
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.START_REMOVING_GLUSTER_VOLUME_BRICKS_FAILED);
+        AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REMOVE_BRICKS_STOP);
+        AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED);
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REBALANCE_START);
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REBALANCE_START_FAILED);
         AddEventNotificationEntry(EventNotificationEntity.GlusterVolume, 
AuditLogType.GLUSTER_VOLUME_REBALANCE_STOP);
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 88f5cb6..5176e29 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
@@ -616,6 +616,8 @@
 GLUSTER_VOLUME_REBALANCE_STOP_FAILED=Could not stop rebalance of gluster 
volume ${glusterVolumeName}.
 START_REMOVING_GLUSTER_VOLUME_BRICKS=Started removing bricks from Volume 
${glusterVolumeName}
 START_REMOVING_GLUSTER_VOLUME_BRICKS_FAILED=Could not start remove bricks from 
Volume ${glusterVolumeName}
+GLUSTER_VOLUME_REMOVE_BRICKS_STOP=Stopped removing bricks from Volume 
${glusterVolumeName}
+GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED=Failed to stop remove bricks from 
Volume ${glusterVolumeName}
 GLUSTER_VOLUME_REMOVE_BRICKS_COMMIT=Gluster volume remove bricks committed
 GLUSTER_VOLUME_REMOVE_BRICKS_COMMIT_FAILED=Gluster volume remove bricks could 
not be commited
 GLUSTER_VOLUME_REPLACE_BRICK_FAILED=Replace Gluster Volume Brick failed
diff --git 
a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
 
b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
index 1a3bbd9..0131276 100644
--- 
a/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
+++ 
b/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
@@ -356,7 +356,7 @@
 
     String AuditLogType___GLUSTER_SERVICE_RESTART_FAILED();
 
-    String AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOPPED();
+    String AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOP();
 
     String AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED();
 
diff --git 
a/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
 
b/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
index 5446f53..5c2bd7e 100644
--- 
a/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
+++ 
b/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
@@ -174,8 +174,8 @@
 AuditLogType___GLUSTER_SERVICE_STOP_FAILED=Failed to stop Gluster service
 AuditLogType___GLUSTER_SERVICE_RESTARTED=Gluster Service re-started
 AuditLogType___GLUSTER_SERVICE_RESTART_FAILED=Failed to re-start Gluster 
Service
-AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOPPED=Gluster volume remove 
brick stopped
-AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED=Failed to stop gluster 
volume remove brick
+AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOP=Stopped removing bricks from 
Gluster Volume 
+AuditLogType___GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED=Failed to stop remove 
bricks from Gluster Volume 
 AuditLogType___GLUSTER_BRICK_STATUS_CHANGED=Detected change in status of brick
 
 


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

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

Reply via email to