diff options
author | Modaboina, Kusumakumari (km583p) <km583p@us.att.com> | 2018-09-07 15:32:46 -0400 |
---|---|---|
committer | Modaboina, Kusumakumari (km583p) <km583p@us.att.com> | 2018-09-07 15:39:07 -0400 |
commit | ae3e71c489d17e4d7604521922926e87874e4bfd (patch) | |
tree | c386f9ea66c3605cf2c1e962eaf6b710e2a43758 | |
parent | e2454d1b226e7a350da11404cb7d1fad40510ca7 (diff) |
Misleading err msg failed to rebuild for snapshot.
Issue-ID: APPC-1196
Change-Id: I017528097939c89794afb8753db429886269c7c8
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
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. |