Deploy stream fails with error "Could not install AppDeployRequest"
search cancel

Deploy stream fails with error "Could not install AppDeployRequest"

book

Article ID: 380030

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime

Issue/Introduction

Deploy stream failed with "Could not install AppDeployRequest" error.

A Stream in Spring Cloud Dataflow is a collection of independent event-driven streaming application that connect using a messaging middleware. During stream deployment the application jars are retrieve from a repository list defined by:

[repo1],[springRepo]

where:

repo1 - is configured typically points to your private repositor

springRepo - is the default public repository

 

Environment

Tanzu Application Services

Spring Cloud Dataflow for Tanzu

Resolution

1. Retrieve and review Dataflow logs and Skipper logs.

2. ArtifactNotFoundException error - this due to missing artifact like the example below.

The skipper logs shows that it was not able to retrieve the application bits

Error Message = [Failed to resolve org.springframework.cloud.stream.app:task-launcher-dataflow-sink-rabbit:jar:1.1.17.RELEASE using remote repo(s): [mavenCentral-default (https://repo.maven.apache.org/maven2), springSnapshot-default (https://repo.spring.io/snapshot), springMilestone-default (https://repo.spring.io/milestone), repo1 (https://example.com:8443/repository/MavenRepositoryGroup/), spring (https://repo.spring.io/libs-release)]]

Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.springframework.cloud.stream.app:task-launcher-dataflow-sink-rabbit:jar:1.1.17.RELEASE in mavenCentral-default (https://repo.maven.apache.org/maven2)

To resolve - verify and confirm that the application exists on one of the repository list. If application does not exist, copy the application to the private repository and test.