Alona Kaplan has uploaded a new change for review.

Change subject: core: adding VdsmError for failure on VmUpdateDevice on Vnic.
......................................................................

core: adding VdsmError for failure on VmUpdateDevice on Vnic.

If the vdsm fails to update the Vnic via VmUpdateDevice the error
UPDATE_VNIC_FAILED (translated to- Failed to update VM Network Interface.)
will be thrown.

Change-Id: I8e081a127fb39fa5c188d9f6b17a5fe0ca52c25b
Signed-off-by: Alona Kaplan <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
M backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
M 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/VdsmErrors.java
M 
frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
M 
frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
5 files changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/9668/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
index 358bf67..b132d62 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllErrors.java
@@ -45,6 +45,7 @@
     SNAPSHOT_FAILED(48),
     ACTIVATE_NIC_FAILED(49),
     DEACTIVATE_NIC_FAILED(50),
+    UPDATE_VNIC_FAILED(56),
     recovery(99),
     GeneralException(100),
     StorageException(200),
diff --git 
a/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties 
b/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
index 490c68c..836b74a 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
@@ -357,4 +357,5 @@
 # Gluster engine errors
 NO_UP_SERVER_FOUND=No server found in Up status.
 ACTIVATE_NIC_FAILED=Failed to activate VM Network Interface.
-DEACTIVATE_NIC_FAILED=Failed to deactivate VM Network Interface.
+DEACTIVATE_NIC_FAILED=Failed to deactivate VM Network Interface.
+UPDATE_VNIC_FAILED=Failed to update VM Network Interface.
diff --git 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/VdsmErrors.java
 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/VdsmErrors.java
index a1e6621..d9ba84b 100644
--- 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/VdsmErrors.java
+++ 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/VdsmErrors.java
@@ -700,4 +700,7 @@
     String ACTIVATE_NIC_FAILED();
 
     String DEACTIVATE_NIC_FAILED();
+
+    @DefaultStringValue("Failed to update VM Network Interface.")
+    String UPDATE_VNIC_FAILED();
 }
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
index f5b6107..b9ee9f2 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/VdsmErrors.properties
@@ -335,3 +335,4 @@
 SNAPSHOT_FAILED=Live snapshot failed.
 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.
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 f5b6107..b9ee9f2 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
@@ -335,3 +335,4 @@
 SNAPSHOT_FAILED=Live snapshot failed.
 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.


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

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

Reply via email to