Support Article
Deployment Manager ERROR Dependent Application
SA-103615
Summary
User has built an application (TempTest) on TempTest_Prereq. A Pipeline for TempTestApp_Prereq is created. After executing the first deployment with the artifact available in the DEV repository, unable to deploy the TempTest application.
Error Messages
ERROR Problem initializing the stream
java.io.FileNotFoundException: https://nexus.cnam-devops-dm.svc.cluster.local:8443/content/repositories/releases-test-dev/fr/cnam/tosca/devops/prod/TempTestApp_Prereq/01.01.01/latestArtifact.properties
Steps to Reproduce
The TempTestApp is dependent on TempTestApp_Prereq (DEV Repository) and trigger deployment. Use different repositories for DEV and PROD.
Root Cause
The Pipeline for the built-on application (TempTestApp_Prereq) was triggered and the artifact was available in the DEV repository. The DEV repository was configured in the Dependencies configuration. For the Dependencies to work, the artifact must be present in the PROD repository because, the Deployment Manager always considered a certified artifact for Dependencies.
If the Production environment was not present in the Pipeline for the TempTestApp_Prereq application, the artifact was not published to the PROD repository. This resulted in the exception.
Resolution
Perform the following local-change:
- Select the ‘Production ready’ checkbox in the Pipeline Model.
- Select PROD repository in the Dependencies configuration.
- Re-trigger the deployment.
Published March 28, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.