diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-11-08 12:22:43 +0000 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-11-08 12:25:53 +0000 |
commit | 35d5de6118d9fa3a45a4e024d083decacea07479 (patch) | |
tree | a4803f415d7688c21e4771e364f924fd04274648 | |
parent | 0fd600655b7dd0079ee247b6fab0b4b678f13c05 (diff) |
Improve error reporting when onboarding a VSP and storage is full
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id349e26c48b9047ab746aa90e8ad88e0296a8b6f
Issue-ID: SDC-4256
2 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java index c4b55e5b4b..acbb0cdd03 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java @@ -236,7 +236,7 @@ public class OrchestrationTemplateCandidateImpl implements OrchestrationTemplate artifactInfo = artifactStorageManager.upload(vspId, versionId, inputStream); } catch (final Exception e) { deleteTempFile(tempArtifactPath); - LOGGER.error("Package Size Reducer not configured", e); + LOGGER.error("Failed to upload artifact", e); throw new ArtifactStorageException(ERROR_HAS_OCCURRED_WHILE_PERSISTING_THE_ARTIFACT.formatMessage(filename)); } diff --git a/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/errors/Messages.java b/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/errors/Messages.java index 2b97335f8e..a62e9f7130 100644 --- a/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/errors/Messages.java +++ b/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/errors/Messages.java @@ -212,7 +212,7 @@ public enum Messages { FAILED_TO_UPDATE_LAST_SEEN_NOTIFICATION("Failed to update last seen notification for user %s"), FAILED_TO_VERIFY_SIGNATURE("Could not verify signature of signed package."), EXTERNAL_CSAR_STORE_CONFIGURATION_FAILURE_MISSING("externalCsarStore configuration failure, missing '%s'"), - ERROR_HAS_OCCURRED_WHILE_PERSISTING_THE_ARTIFACT("An error has occurred while persisting the artifact: %s"), + ERROR_HAS_OCCURRED_WHILE_PERSISTING_THE_ARTIFACT("Write '%s' to object storage failed, check object store logs for details, possibly due to insufficient storage capacity"), ERROR_HAS_OCCURRED_WHILE_REDUCING_THE_ARTIFACT_SIZE("An error has occurred while reducing the artifact's size: %s"), UNEXPECTED_PROBLEM_HAPPENED_WHILE_GETTING("An unexpected problem happened while getting '%s'"), PACKAGE_REDUCER_NOT_CONFIGURED("Could not process the package. Package reducer is not configured"); |