spring-cloud-streamspring-cloud-dataflowspring-cloud-skipper

cannot delete a stream because Package Metadata in Repository say not all releases DELETED


I'm a Spring Data Cloud Flow newbie and I'm having a hard time getting rid of a stream.

stream list

shows I have a stream named ticktock5.

stream undeploy ticktock5
stream destroy ticktock5

result in the same error:

Command failed org.springframework.cloud.dataflow.rest.client.DataFlowClientException: Can not delete Package Metadata [ticktock5:1.0.0] in Repository [local]. Not all releases of this package have the status DELETED. Active Releases [ticktock5]

This is running on

macOS 10.12.6, 
java 1.8.0_161, 
Docker 2.0.0.0-mac81(29211),  
Spring Cloud Data Flow 1.7.2.RELEASE

Reproduction is simple:

Create a stream
Deploy it
Wait
After a period of time (5 min or longer), the deployment will fail.
No errors are given in the data flow server log

Solution

  • i ended up recreating my Docker/K8s environment and that fixed the problem