Shubhendu Tripathi has uploaded a new change for review.
Change subject: gluster: Corrected the alert message for rebalance
......................................................................
gluster: Corrected the alert message for rebalance
Corrected the alert message for gluster volume rebalance command on case
there is a single brick in the volume. The new message is "Cannot
${action} ${type}. Gluster Volume has a single brick."
Change-Id: I449d86daca772a1557e94d9f01cf5a170c749782
Bug-Url: https://bugzilla.redhat.com/1008318
Signed-off-by: Shubhendu Tripathi <[email protected]>
---
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M
frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
3 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/70/19570/1
diff --git
a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
index c11ed2b..dd4961c 100644
---
a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
+++
b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
@@ -931,7 +931,7 @@
ACTION_TYPE_FAILED_GLUSTER_VOLUME_IS_DOWN=Cannot ${action} ${type}. Gluster
Volume is down.
ACTION_TYPE_FAILED_CAN_NOT_REMOVE_ALL_BRICKS_FROM_VOLUME=Cannot ${action}
${type}. Cannot remove all the bricks from a Volume.
ACTION_TYPE_FAILED_GLUSTER_VOLUME_SHOULD_BE_STARTED=Cannot ${action} ${type}.
Gluster Volume should be started.
-ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED=Cannot ${action}
${type}. Gluster Volume bricks are not distributed.
+ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED=Cannot ${action}
${type}. Gluster Volume has a single brick.
ACTION_TYPE_FAILED_NOT_A_GLUSTER_VOLUME_BRICK=Cannot ${action} ${type}.
Replacing brick is not a Gluster volume brick.
ACTION_TYPE_FAILED_NO_GLUSTER_HOST_TO_PEER_PROBE=Cannot ${action} ${type}.
There is no available server in the cluster to probe the new server.
ACTION_TYPE_FAILED_CAN_NOT_REDUCE_REPLICA_COUNT_MORE_THAN_ONE=Cannot ${action}
${type}. Replica count cannot be reduced by more than one.
diff --git
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
index 1ccf6be..127b845 100644
---
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
+++
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
@@ -2477,7 +2477,7 @@
@DefaultStringValue("Cannot ${action} ${type}. Gluster Volume should be
started.")
String ACTION_TYPE_FAILED_GLUSTER_VOLUME_SHOULD_BE_STARTED();
- @DefaultStringValue("Cannot ${action} ${type}. Gluster Volume bricks are
not distributed.")
+ @DefaultStringValue("Cannot ${action} ${type}. Gluster Volume has a single
brick.")
String ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED();
@DefaultStringValue("Cannot ${action} ${type}. Replacing brick is not a
Gluster volume brick.")
diff --git
a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
index 79fcc2a..909c197 100644
---
a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
+++
b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
@@ -922,7 +922,7 @@
ACTION_TYPE_FAILED_GLUSTER_VOLUME_IS_DOWN=Cannot ${action} ${type}. Gluster
Volume is down.
ACTION_TYPE_FAILED_CAN_NOT_REMOVE_ALL_BRICKS_FROM_VOLUME=Cannot ${action}
${type}. Cannot remove all the bricks from a Volume.
ACTION_TYPE_FAILED_GLUSTER_VOLUME_SHOULD_BE_STARTED=Cannot ${action} ${type}.
Gluster Volume should be started.
-ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED=Cannot ${action}
${type}. Gluster Volume bricks are not distributed.
+ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED=Cannot ${action}
${type}. Gluster Volume has a single brick.
ACTION_TYPE_FAILED_NOT_A_GLUSTER_VOLUME_BRICK=Cannot ${action} ${type}.
Replacing brick is not a Gluster volume brick.
VDS_CANNOT_REMOVE_HOST_HAVING_GLUSTER_VOLUME=Cannot ${action} ${type}. Server
having Gluster volume.
ACTION_TYPE_FAILED_NO_GLUSTER_HOST_TO_PEER_PROBE=Cannot ${action} ${type}.
There is no available server in the cluster to probe the new server.
--
To view, visit http://gerrit.ovirt.org/19570
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I449d86daca772a1557e94d9f01cf5a170c749782
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches