Utkarsh Singh has uploaded a new change for review.

Change subject: core: engine vdc error codes for vdsm sparsify
......................................................................

core: engine vdc error codes for vdsm sparsify

VDSM virt-sparsify integration added two new errors in
storage_exception.py. This patch adds the respective errors
on the engine side.

Change-Id: If787a4980d6a01bb58ad1646e38ef08090b59f37
Signed-off-by: Utkarsh <utkarshs...@gmail.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
2 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/31634/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 382ca11..4c7629d 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
@@ -91,6 +91,8 @@
     VOLUME_WAS_NOT_PREPARED_BEFORE_TEARDOWN(230),
     IncorrectType(231),
     VolumeResizeValueError(232),
+    VolumeNotSparse(233),
+    CannotSparsifyVolume(234),
     ImagesActionError(250),
     TemplateCreationError(251),
     MergeSnapshotsError(252),
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 b4c978a..e2d4509 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/VdsmErrors.properties
@@ -320,6 +320,8 @@
 MetaDataGeneralError=General Meta data error
 ResourceDoesNotExist=Resource does not exist
 InvalidResourceName=Invalid resource name
+VolumeNotSparse=Volume type is not sparse
+CannotSparsifyVolume=Cannot run virt-sparsify on volume
 # Gluster VDSM errors
 GlusterGeneralException=Gluster General Exception
 GlusterPermissionDeniedException=Permission denied


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If787a4980d6a01bb58ad1646e38ef08090b59f37
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Utkarsh Singh <utkarshs...@gmail.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to