Kanagaraj M has uploaded a new change for review. Change subject: webadmin: adding gluster errors to AppErrors and VdsmErrors ......................................................................
webadmin: adding gluster errors to AppErrors and VdsmErrors Adding the missing gluster errors to AppErrors.properties and VdsmErrors.properties. Change-Id: I2e472a3c43bd5fe1b4a3a4fdbfb1f090bf71d3d9 Signed-off-by: Kanagaraj M <kmayi...@redhat.com> --- M frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties M frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties 2 files changed, 69 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/77/14277/1 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 42cb0e4..f5619a6 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 @@ -226,6 +226,12 @@ VAR__TYPE__USER_FROM_VM=$type User to VM VAR__TYPE__USER=$type User VAR__TYPE__PERMISSION=$type Permission +VAR__TYPE__GLUSTER_VOLUME=$type Gluster Volume +VAR__TYPE__GLUSTER_VOLUME_OPTION=$type Gluster Volume Option +VAR__TYPE__GLUSTER_VOLUME_REBALANCE=$type Gluster Volume Rebalance +VAR__TYPE__GLUSTER_BRICK=$type Gluster Brick +VAR__TYPE__GLUSTER_SERVER=$type Gluster Server +VAR__TYPE__GLUSTER_HOOK=$type Gluster Hook VAR__ACTION__RUN=$action run VAR__ACTION__REMOVE=$action remove VAR__ACTION__ADD=$action add @@ -254,6 +260,7 @@ VAR__ACTION__MANUAL_FENCE=$action confirm 'Host has been rebooted' VAR__ACTION__MAINTENANCE=$action maintenance VAR__ACTION__SET=$action set +VAR__ACTION__RESET=$action reset VAR__ACTION__SETUP=$action setup VAR__ACTION__UPDATE=$action edit VAR__ACTION__ATTACH=$action attach @@ -267,6 +274,9 @@ VAR__ACTION__HOT_UNPLUG=$action hot unplug VAR__ACTION__LOGON=$action log on VAR__ACTION__LOGOFF=$action log off +VAR__ACTION__REBALANCE_START=$action rebalance +VAR__ACTION__START_PROFILE=$action start profiling +VAR__ACTION__STOP_PROFILE=$action stop profiling VAR__ACTION__ASSIGN=$action assign VAR__HOST_STATUS__UP=$hostStatus Up VAR__HOST_STATUS__UP_MAINTENANCE_OR_NON_OPERATIONAL=$hostStatus Up, Maintenance or Non operational @@ -780,6 +790,43 @@ SERVER_ALREADY_EXISTS_IN_ANOTHER_CLUSTER=One or more servers are already part of an existing cluster. SSH_AUTHENTICATION_FAILED=SSH Authentication failed. Please make sure password is correct. GLUSTER_NOT_SUPPORTED=Cannot ${action} ${type}. Gluster service is not supported in compatibility version ${compatibilityVersion}. +ACTION_TYPE_FAILED_CLUSTER_IS_NOT_VALID=Cannot ${action} ${type}. Cluster ID is not valid. +ACTION_TYPE_FAILED_CLUSTER_DOES_NOT_SUPPORT_GLUSTER=Cannot ${action} ${type}. Cluster does not support Gluster service. +ACTION_TYPE_FAILED_GLUSTER_VOLUME_NAME_ALREADY_EXISTS=Cannot ${action} ${type}. Volume name ${volumeName} already exists. +ACTION_TYPE_FAILED_GLUSTER_VOLUME_INVALID=Cannot ${action} ${type}. Gluster Volume is not valid. +ACTION_TYPE_FAILED_BRICKS_REQUIRED=Cannot ${action} ${type}. Bricks are required. +ACTION_TYPE_FAILED_REPLICA_COUNT_MIN_2=Cannot ${action} ${type}. Replica count must be > 2 for a REPLICATE volume. +ACTION_TYPE_FAILED_INVALID_BRICK_COUNT_FOR_DISTRIBUTED_REPLICATE=Cannot ${action} ${type}. Number of bricks must be a multiple of replica count for a DISTRIBUTED REPLICATE volume. +ACTION_TYPE_FAILED_INVALID_BRICK_COUNT_FOR_REPLICATE=Cannot ${action} ${type}. Number of bricks must be equal to the replica count for a REPLICATED volume. +ACTION_TYPE_FAILED_STRIPE_COUNT_MIN_4=Cannot ${action} ${type}. Stripe count must be > 4 for a STRIPED volume. +ACTION_TYPE_FAILED_INVALID_BRICK_COUNT_FOR_STRIPE=Cannot ${action} ${type}. Number of bricks must be equal to stripe count for a STRIPE volume. +ACTION_TYPE_FAILED_INVALID_BRICK_COUNT_FOR_DISTRIBUTED_STRIPE=Cannot ${action} ${type}. Number of bricks must be a multiple of stripe count for a DISTRIBUTED STRIPE volume. +ACTION_TYPE_FAILED_INVALID_BRICK_SERVER_ID=Cannot ${action} ${type}. Invalid host id in brick. +ACTION_TYPE_FAILED_GLUSTER_VOLUME_ALREADY_STARTED=Cannot ${action} ${type}. Gluster Volume ${volumeName} already started. +ACTION_TYPE_FAILED_GLUSTER_VOLUME_ALREADY_STOPPED=Cannot ${action} ${type}. Gluster Volume ${volumeName} already stopped. +ACTION_TYPE_FAILED_GLUSTER_VOLUME_IS_UP=Cannot ${action} ${type}. Gluster Volume ${volumeName} is up. +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_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. +ACTION_TYPE_FAILED_GLUSTER_BRICK_INVALID=Cannot ${action} ${type}. Invalid gluster brick. +ACTION_TYPE_FAILED_BRICK_ID_REQUIRED=Cannot ${action} ${type}. Brick ID is required. +ACTION_TYPE_FAILED_CAN_NOT_REDUCE_REPLICA_COUNT_MORE_THAN_ONE=Cannot ${action} ${type}. Replica count cannot be reduced by more than one. +ACTION_TYPE_FAILED_CAN_NOT_INCREASE_REPLICA_COUNT=Cannot ${action} ${type}. Replica count cannot be increased when removing bricks. +ACTION_TYPE_FAILED_CAN_NOT_REDUCE_REPLICA_COUNT=Cannot ${action} ${type}. Replica count cannot be reduced when adding bricks. +ACTION_TYPE_FAILED_CAN_NOT_INCREASE_REPLICA_COUNT_MORE_THAN_ONE=Cannot ${action} ${type}. Replica count cannot be increased by more than one. +ACTION_TYPE_FAILED_CAN_NOT_INCREASE_STRIPE_COUNT_MORE_THAN_ONE=Cannot ${action} ${type}. Stripe count cannot be increased by more than one. +ACTION_TYPE_FAILED_CAN_NOT_REDUCE_STRIPE_COUNT=Cannot ${action} ${type}. Stripe count can not be reduced. +ACTION_TYPE_FAILED_DUPLICATE_BRICKS=Cannot ${action} ${type}. Duplicate entries found for brick ${brick}. +ACTION_TYPE_FAILED_BRICK_ALREADY_EXISTS_IN_VOLUME=Cannot ${action} ${type}. Brick ${brick} is already used by the volume ${volumeName}. +ACTION_TYPE_FAILED_NO_UP_SERVER_FOUND=Cannot ${action} ${type}. No up server found in ${clusterName}. +ACTION_TYPE_FAILED_GLUSTER_HOOK_ID_IS_REQUIRED=Cannot ${action} ${type}. Gluster hook id is required. +ACTION_TYPE_FAILED_GLUSTER_HOOK_DOES_NOT_EXIST=Cannot ${action} ${type}. Gluster hook does not exist. +SERVER_ALREADY_PART_OF_ANOTHER_CLUSTER=Server ${server} is already part of another cluster. + # External Events Errors Messages VAR__TYPE__EXTERNAL_EVENT=$type External Event ACTION_TYPE_FAILED_EXTERNAL_EVENT_ILLEGAL_ORIGIN=Cannot ${action} ${type}. Illegal Origin for External Event : oVirt diff --git a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties index 75a6ac7..7b72a3d 100644 --- a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties +++ b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties @@ -336,3 +336,25 @@ ACTIVATE_NIC_FAILED=Failed to activate VM Network Interface. DEACTIVATE_NIC_FAILED=Failed to deactivate VM Network Interface. UPDATE_VNIC_FAILED=Failed to update VM Network Interface. +GlusterGeneralException=Gluster General Exception occurred. +GlusterPermissionDeniedException=Permission denied +GlusterSyntaxErrorException=Command failed due to a Syntax error +GlusterMissingArgumentException=Command failed due to a missing argument +GlusterCmdExecFailedException=Command execution failed +GlusterXmlErrorException=XML error +GlusterVolumeDeleteFailed=Gluster Volume Delete Failed. +GlusterVolumeRemoveBricksFailed=Gluster Volume Remove Bricks Failed. +AddBricksToGlusterVolumeFailed=Gluster Volume Add Brick Failed. +GlusterVolumeRebalanceStartFailed=Gluster Volume Rebalance Start Failed. +GlusterVolumeReplaceBrickStartFailed=Gluster Volume Replace Brick Start Failed. +GlusterHostRemoveFailed=Gluster Host Remove Failed. +GlusterVolumeProfileStartFailed=Gluster Volume Profile Start Failed. +GlusterVolumeProfileStopFailed=Gluster Volume Profile Stop Failed. +GlusterHookFailed=Gluster hook operation failed +GlusterHookEnableFailed=Failed to enable gluster hook. +GlusterHookDisableFailed=Failed to disable gluster hook. +GlusterHookConflict=Found conflicting hooks. +GlusterHookNotFound=Gluster hook not found +GlusterHookListException=Failed to get gluster hook list +GlusterHostUUIDNotFound=Gluster host UUID not found +GlusterServicesListFailed=Failed to fetch statuses of services. -- To view, visit http://gerrit.ovirt.org/14277 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2e472a3c43bd5fe1b4a3a4fdbfb1f090bf71d3d9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kanagaraj M <kmayi...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches