我是Spring Data Cloud Flow的新手,很难摆脱流。
stream list
表明我有一个名为ticktock5
的流。
stream undeploy ticktock5
stream destroy ticktock5
导致相同的错误:
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]
此文件正在
上运行macOS 10.12.6,
java 1.8.0_161,
Docker 2.0.0.0-mac81(29211),
Spring Cloud Data Flow 1.7.2.RELEASE
复制很简单:
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
答案 0 :(得分:1)
我已通过更改skipper 数据库中的表格进行修复。 (在我的情况下是 mysql db)
执行的步骤。
delete from skipper_release where name = 'my-stuck-stream-name'
delete from skipper_app_deployer_data where release_name = 'my-stuck-stream-name'
delete from skipper_package_metadata where name = 'my-stuck-stream-name'
答案 1 :(得分:0)
我最终重新创建了Docker / K8s环境,并解决了问题