Daniel Erez has uploaded a new change for review.

Change subject: core: VdcBllMessages - adding error key
......................................................................

core: VdcBllMessages - adding error key

Adding error key to VdcBllMessages for unsupported cinder
storage domain in data center:
DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION

Change-Id: I9536655f7713dda9dc3bc1bfa014bc76fd444c11
Bug-Url: https://bugzilla.redhat.com/1185826
Signed-off-by: Daniel Erez <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
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/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M 
frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
5 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/06/38906/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
index 31fc66a..beef3b8 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
@@ -766,6 +766,7 @@
     VDS_GROUP_CANNOT_DETACH_DATA_DOMAIN_FROM_LOCAL_STORAGE(ErrorType.CONFLICT),
     
DATA_CENTER_POSIX_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION(ErrorType.INCOMPATIBLE_VERSION),
     
DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION(ErrorType.INCOMPATIBLE_VERSION),
+    
DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION(ErrorType.INCOMPATIBLE_VERSION),
 
     
VDS_GROUP_CPU_UTILIZATION_MUST_BE_IN_VALID_RANGE(ErrorType.CONSTRAINT_VIOLATION),
     
VDS_GROUP_CPU_LOW_UTILIZATION_PERCENTAGE_MUST_BE_LOWER_THAN_HIGH_PERCENTAGE(ErrorType.BAD_PARAMETERS),
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 82cfc0c..4ede0fd 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
@@ -783,6 +783,7 @@
 VDS_GROUP_CANNOT_DETACH_DATA_DOMAIN_FROM_LOCAL_STORAGE="Local Storage" data 
domain cannot be detached from Data Center
 DATA_CENTER_POSIX_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="File based 
storage" is not supported with data center compatibility version.
 DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="Gluster based 
storage" is not supported with current data center compatibility version.
+DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION=Cinder based 
storage is not supported with current data center compatibility version.
 VDS_CANNOT_UPDATE_CLUSTER=Updating Host's Cluster cannot be performed through 
update Host action, please use Change Host Cluster action instead.
 VM_CANNOT_UPDATE_CLUSTER=Updating VM's Cluster cannot be performed through 
update VM action, please use Change VM Cluster action instead.
 VM_STATUS_NOT_VALID_FOR_UPDATE=Cannot update a VM in this status. Try stopping 
the VM first.
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 80c6f67..de1e842 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
@@ -2126,6 +2126,9 @@
     @DefaultStringValue("\"Gluster based storage\" is not supported with 
current data center compatibility version.")
     String DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION();
 
+    @DefaultStringValue("Cinder based storage is not supported with current 
data center compatibility version.")
+    String DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION();
+
     @DefaultStringValue("Updating Host's Cluster cannot be performed through 
update Host action, please use Change Host Cluster action instead.")
     String VDS_CANNOT_UPDATE_CLUSTER();
 
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
index 16dc858..a4d9571 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
@@ -717,6 +717,7 @@
 DATA_CENTER_LOCAL_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="Local Storage" is 
not supported with Data Center computability version
 DATA_CENTER_POSIX_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="File based 
storage" is not supported with data center compatibility version.
 DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="Gluster based 
storage" is not supported with current data center compatibility version.
+DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION=Cinder based 
storage is not supported with current data center compatibility version.
 VDS_CANNOT_UPDATE_CLUSTER=Updating Host's Cluster cannot be performed through 
update Host action, please use Change Host Cluster action instead.
 VM_CANNOT_UPDATE_CLUSTER=Updating VM's Cluster cannot be performed through 
update VM action, please use Change VM Cluster action instead.
 VM_STATUS_NOT_VALID_FOR_UPDATE=Cannot update a VM in this status. Try stopping 
the VM first.
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 16b003d..ff81ec3 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
@@ -779,6 +779,7 @@
 DATA_CENTER_LOCAL_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="Local Storage" is 
not supported with Data Center computability version
 DATA_CENTER_POSIX_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="File based 
storage" is not supported with data center compatibility version.
 DATA_CENTER_GLUSTER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION="Gluster based 
storage" is not supported with current data center compatibility version.
+DATA_CENTER_CINDER_STORAGE_NOT_SUPPORTED_IN_CURRENT_VERSION=Cinder based 
storage is not supported with current data center compatibility version.
 VDS_CANNOT_UPDATE_CLUSTER=Updating Host's Cluster cannot be performed through 
update Host action, please use Change Host Cluster action instead.
 VM_CANNOT_UPDATE_CLUSTER=Updating VM's Cluster cannot be performed through 
update VM action, please use Change VM Cluster action instead.
 VM_STATUS_NOT_VALID_FOR_UPDATE=Cannot update a VM in this status. Try stopping 
the VM first.


-- 
To view, visit https://gerrit.ovirt.org/38906
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to