Daniel Erez has uploaded a new change for review. Change subject: core: VdcBllMessages - adding unsupported provider error key ......................................................................
core: VdcBllMessages - adding unsupported provider error key Adding error key to VdcBllMessages for unsupported provider: ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED Change-Id: I10b632ab1cd08d936d5b6f2e2d4ac85965765f7e 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, 15 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/38918/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 beef3b8..1c8b8bd 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 @@ -1164,7 +1164,10 @@ ACTION_TYPE_FAILED_DEVICE_MUST_BE_SPECIFIED, ACTION_TYPE_FAILED_GRAPHIC_TYPE_MUST_BE_SPECIFIED, - ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS; + ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS, + + // Cinder + ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED(ErrorType.NOT_SUPPORTED); private ErrorType messageType; 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 4ede0fd..aa99612 100644 --- a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties +++ b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties @@ -1367,3 +1367,6 @@ ACTION_TYPE_FAILED_GRAPHIC_TYPE_MUST_BE_SPECIFIED=Cannot ${action} ${type}. Graphics Device Type must be specified. ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS=Cannot ${action} ${type}. Graphics device ID or VM/Template ID is null. ACTION_TYPE_FAILED_SNAPSHOT_ALREADY_EXISTS=Cannot ${action} ${type}. Snapshot ${snapname} already exists. + +# Cinder +ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED=Cannot ${action} ${type}. The current type ${providerType} is not supported. \ No newline at end of file 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 de1e842..ad2f1d5 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 @@ -3643,4 +3643,6 @@ @DefaultStringValue("Cannot ${action} ${type}. Graphics device ID or VM/Template ID is null.") String ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS(); + @DefaultStringValue("Cannot ${action} ${type}. The current type ${providerType} is not supported.") + String ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED(); } 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 a4d9571..85101be 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 @@ -1089,3 +1089,6 @@ ACTION_TYPE_FAILED_DEVICE_MUST_BE_SPECIFIED=Cannot ${action} ${type}. Device must be specified. ACTION_TYPE_FAILED_GRAPHIC_TYPE_MUST_BE_SPECIFIED=Cannot ${action} ${type}. Graphics Device Type must be specified. ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS=Cannot ${action} ${type}. Graphics device ID or VM/Template ID is null. + +# Cinder +ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED=Cannot ${action} ${type}. The current type ${providerType} is not supported. \ No newline at end of file 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 ff81ec3..6ccece5 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 @@ -1319,3 +1319,6 @@ ACTION_TYPE_FAILED_GRAPHIC_TYPE_MUST_BE_SPECIFIED=Cannot ${action} ${type}. Graphics Device Type must be specified. ACTION_TYPE_REMOVE_GRAPHICS_DEV_INVALID_PARAMS=Cannot ${action} ${type}. Graphics device ID or VM/Template ID is null. ACTION_TYPE_FAILED_SNAPSHOT_ALREADY_EXISTS=Cannot ${action} ${type}. Snapshot ${snapname} already exists. + +# Cinder +ACTION_TYPE_FAILED_PROVIDER_NOT_SUPPORTED=Cannot ${action} ${type}. The current type ${providerType} is not supported. \ No newline at end of file -- To view, visit https://gerrit.ovirt.org/38918 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I10b632ab1cd08d936d5b6f2e2d4ac85965765f7e 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
