aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java2
-rw-r--r--appc-core/appc-common-bundle/java/org/onap/appc/i18n/Msg.java5
-rw-r--r--appc-core/appc-common-bundle/src/main/java/org/onap/appc/i18n/Msg.java5
-rw-r--r--appc-core/appc-common-bundle/src/main/resources/org/onap/appc/i18n/MessageResources.properties5
4 files changed, 16 insertions, 1 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
index ba0160cac..2bf060a43 100644
--- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
+++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
@@ -172,7 +172,7 @@ public class CreateSnapshot extends ProviderServerOperation {
SnapShot = createSnapshot(RcContext, server);
doSuccess(RcContext);
} else {
- msg = EELFResourceManager.format(Msg.REBUILD_SERVER_FAILED, server.getName(), server.getId(),
+ msg = EELFResourceManager.format(Msg.IMAGE_SERVICE_FAILED, server.getName(), server.getId(),
"Accessing Image Service Failed");
logger.error(msg);
metricsLogger.error(msg);
diff --git a/appc-core/appc-common-bundle/java/org/onap/appc/i18n/Msg.java b/appc-core/appc-common-bundle/java/org/onap/appc/i18n/Msg.java
index d60e25938..ad696cdef 100644
--- a/appc-core/appc-common-bundle/java/org/onap/appc/i18n/Msg.java
+++ b/appc-core/appc-common-bundle/java/org/onap/appc/i18n/Msg.java
@@ -827,6 +827,11 @@ public enum Msg implements EELFResolvableErrorEnum {
* Ssh session with host {0} has timed out during command {1} execution
*/
SSH_CONNECTION_TIMEOUT,
+
+ /**
+ *Connecting to image service {0}failed
+ */
+ IMAGE_SERVICE_FAILED,
/**
* Could not configure existing ssh session, reason: {0}
diff --git a/appc-core/appc-common-bundle/src/main/java/org/onap/appc/i18n/Msg.java b/appc-core/appc-common-bundle/src/main/java/org/onap/appc/i18n/Msg.java
index d03095900..2fb6db835 100644
--- a/appc-core/appc-common-bundle/src/main/java/org/onap/appc/i18n/Msg.java
+++ b/appc-core/appc-common-bundle/src/main/java/org/onap/appc/i18n/Msg.java
@@ -833,6 +833,11 @@ public enum Msg implements EELFResolvableErrorEnum {
SSH_CONNECTION_TIMEOUT,
/**
+ *Connecting to image service {0}failed
+ */
+ IMAGE_SERVICE_FAILED,
+
+ /**
* Could not configure existing ssh session, reason: {0}
*/
SSH_SESSION_CONFIG_ERROR
diff --git a/appc-core/appc-common-bundle/src/main/resources/org/onap/appc/i18n/MessageResources.properties b/appc-core/appc-common-bundle/src/main/resources/org/onap/appc/i18n/MessageResources.properties
index 323476e47..0a6e2cdbe 100644
--- a/appc-core/appc-common-bundle/src/main/resources/org/onap/appc/i18n/MessageResources.properties
+++ b/appc-core/appc-common-bundle/src/main/resources/org/onap/appc/i18n/MessageResources.properties
@@ -1058,3 +1058,8 @@ REBOOT_SERVER=APPC0167I|\
No resolution required|\
A graph has invoked the IAAS adapter and has requested the reboot of a server. The \
properties that govern the request are echoed immediately following this message.
+
+IMAGE_SERVICE_FAILED=APPC0157E|\
+ IAAS Adapter image service fail|\
+ Connection to provider OpenStackProvider service Image at {0} failed.|\
+ Correct the cause of the failure as indicated by the reason.