Moti Asayag has uploaded a new change for review.

Change subject: engine: Add error message for ifup failure
......................................................................

engine: Add error message for ifup failure

The patch adds a missing error code from vdsm for
a failure to bring an interface up.

Change-Id: I07adde3368c31319bed48839d089ba3ac48cd424
Bug-Url: https://bugzilla.redhat.com/990938
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
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, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/11/19111/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 6867883..edc3327 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
@@ -33,6 +33,7 @@
     ERR_BAD_VLAN(26),
     ERR_BAD_BRIDGE(27),
     ERR_USED_BRIDGE(28),
+    ERR_FAILED_IFUP(29),
     MIGRATION_DEST_INVALID_HOSTNAME(39),
     unavail(40),
     FAILED_CHANGE_CD_IS_MOUNTED(41),
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 4fd2881..439d85e 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
@@ -196,6 +196,7 @@
 ERR_BAD_VLAN=Invalid VLan definition
 ERR_BAD_BRIDGE=Invalid Network name
 ERR_USED_BRIDGE=Network is currently being used
+ERR_FAILED_IFUP=Failed to bring interface up
 ENGINE=Internal Engine Error
 IRS_IMAGE_STATUS_ILLEGAL=This operation is currently blocked due to the status 
of the Image file.\nThe Image file status is transient (probably locked by 
another parallel operation). Please wait for the status to clear and try again.
 IRS_REPOSITORY_NOT_FOUND=Error connecting to the Storage Pool Manager 
service.\nPossible reasons:\n - Storage Pool Manager service is in non-active 
state.\n - No Active Host in the Data Center.
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 0efaaf4..75a7a0b 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
@@ -385,6 +385,8 @@
 
     String ERR_USED_BRIDGE();
 
+    String ERR_FAILED_IFUP();
+
     String ENGINE();
 
     String IRS_IMAGE_STATUS_ILLEGAL();
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 ec634a7..f510ad9 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
@@ -189,6 +189,7 @@
 ERR_BAD_VLAN=Invalid VLan definition
 ERR_BAD_BRIDGE=Invalid Network name
 ERR_USED_BRIDGE=Network is currently being used
+ERR_FAILED_IFUP=Failed to bring interface up
 ENGINE=Internal Engine Error
 IRS_IMAGE_STATUS_ILLEGAL=This operation is currently blocked due to the status 
of the Image file.\nThe Image file status is transient (probably locked by 
another parallel operation). Please wait for the status to clear and try again.
 IRS_REPOSITORY_NOT_FOUND=Error connecting to the Storage Pool Manager 
service.\nPossible reasons:\n - Storage Pool Manager service is in non-active 
state.\n - No Active Host in the Data Center.
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 e3cf8e1..03daefb 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
@@ -189,6 +189,7 @@
 ERR_BAD_VLAN=Invalid VLan definition
 ERR_BAD_BRIDGE=Invalid Network name
 ERR_USED_BRIDGE=Network is currently being used
+ERR_FAILED_IFUP=Failed to bring interface up
 ENGINE=Internal Engine Error
 IRS_IMAGE_STATUS_ILLEGAL=This operation is currently blocked due to the status 
of the Image file.\nThe Image file status is transient (probably locked by 
another parallel operation). Please wait for the status to clear and try again.
 IRS_REPOSITORY_NOT_FOUND=Error connecting to the Storage Pool Manager 
service.\nPossible reasons:\n - Storage Pool Manager service is in non-active 
state.\n - No Active Host in the Data Center.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I07adde3368c31319bed48839d089ba3ac48cd424
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to