0

我尝试使用 task-launcher-cloudfoundry-sink-rabbit-1.2.0.RELEASE 但是当任务正在创建并处于暂存模式时,任务崩溃了。有任何想法吗?任务启动器日志:

`2017-06-28T13:34:58.95+0200 [APP/PROC/WEB/0] OUT 2017-06-28 11:34:58.954 INFO 14 --- [yexp5qFW6l-Pw-1] osctask.launcher.TaskLauncherSink :为以下资源启动任务 TaskLaunchRequest{uri=' http://artifactor 2017-06-28T13:34:58.95+0200 [APP/PROC/WEB/0] OUT 2017-06-28 11:34:58.955 INFO 14 --- [yexp5qFW6l-Pw-1] oscdrsDelegatingResourceLoader:重用缓存文件 /home /vcap/tmp/deployer-resource-cache5895756579145891352/http 2017-06-28T13:34:59.14+0200 [APP/PROC/WEB/0] OUT 2017-06-28 11:34:59.149 错误 14 --- [ry -client-nio-1] scCloudFoundry2630AndLaterTaskLauncher:任务 Maus 启动失败 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 org.cloudfoundry.reactor.util.ErrorPayloadMapper.lambda$null$10( ErrorPayloadMapper.java:107) ~[cloudfoundry-client-reactor-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT org.cloudfoundry.client.v3.ClientV3Exception:CF-UnprocessableEntity(10008):请求在语义上无效:任务必须有一个 droplet。指定液滴或分配当前液滴 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT at org.cloudfoundry.reactor.util.ErrorPayloadMapper.lambda$null$3(ErrorPayloadMapper.java:65) ~ [cloudfoundry-client-reactor-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 reactor.core.publisher .FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:108) ~[reactor-core-3.0.5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC /WEB/0] 出在 reactor.core.publisher.FluxPeekFuseable$PeekFuseableConditionalSubscriber.onNext(FluxPeekFuseable.java:412) ~[reactor-core-3.0.5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06 -28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT 在 reactor.core.publisher.MonoThenMap$MonoThenApplyMain.onNext(MonoThenMap.java:100) ~[reactor-core-3.0.5.RELEASE.jar !/:3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114) ~[ reactor-core-3.0.5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 reactor.core.publisher.FluxMapFuseable$ MapFuseableSubscriber.onNext(FluxMapFuseable.java:119) ~[reactor-core-3.0.5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/ 0] 在 reactor.core.publisher.FluxUsing$UsingFuseableSubscriber.onNext(FluxUsing.java:320) ~[reactor-core-3.0.5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06-28T13: 34:59.15+0200 [APP/PROC/WEB/0] 出在 reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:928) ~[reactor-core-3.0.5.RELEASE.jar!/: 3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 reactor.ipc.netty 上发布。channel.ChannelOperations.onHandlerTerminate(ChannelOperations.java:499) ~[reactor-netty-0.6.0.RELEASE.jar!/:na] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0]在 reactor.ipc.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:469) ~[reactor-netty-0.6.0.RELEASE.jar!/:na] 2017-06-28T13:34:59.15+ 0200 [APP/PROC/WEB/0] OUT 在 reactor.core.publisher.MonoReduceSeed$ReduceSeedSubscriber.onComplete(MonoReduceSeed.java:142) ~[reactor-core-3.0.5.RELEASE.jar!/:3.0.5。发布] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136) ~[reactor-core-3.0. 5.RELEASE.jar!/:3.0.5.RELEASE] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 reactor.ipc.netty.channel.FluxReceive.onInboundComplete(FluxReceive. java:315) ~[reactor-netty-0.6.0.RELEASE.jar!/:na] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 reactor.ipc.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:427) ~[ reactor-netty-0.6.0.RELEASE.jar!/:na] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 reactor.ipc.netty.channel.ChannelOperationsHandler.channelRead( ChannelOperationsHandler.java:113) ~[reactor-netty-0.6.0.RELEASE.jar!/:na] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty。 channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/ WEB/0] 在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13: 34:59。15+0200 [APP/PROC/WEB/0] 输出于 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) ~[netty-all-4.1.8.Final.jar!/:4.1.8。最终] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) ~[netty-all-4.1. 8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder. java:267) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io. netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/ PROC/WEB/0] 在 io.netty.channel 输出。AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/ 0] 在 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34: 59.15+0200 [APP/PROC/WEB/0] 输出于 io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1228) ~[netty-all-4.1.8.Final.jar!/:4.1. 8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1039) ~[netty-all- 4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext. java:341) ~[netty-all-4.1.8.Final.jar!/:4.1.8.最终] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) ~[netty-all-4.1. 8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder. java:411) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io. netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [ APP/PROC/WEB/0] 出在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017- 06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 在 io.netty 上发布。channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/ WEB/0] 在 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13: 34:59.15+0200 [APP/PROC/WEB/0] 输出于 io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) ~[netty-all-4.1.8.Final.jar!/:4.1. 8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) ~[netty-all-4.1. 8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 io.netty.channel.nio。AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/ WEB/0] 输出于 io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:642) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06- 28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出于 io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565) ~[netty-all-4.1.8.Final.jar! /:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:479) ~[ netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 出在 io.netty.channel.nio。 NioEventLoop.run(NioEventLoop.java:441) ~[netty-all-4.1.8.Final.jar!/:4.1.8.Final] 2017-06-28T13:34:59。15+0200 [APP/PROC/WEB/0] 输出于 io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) ~[netty-all-4.1.8.Final.jar!/:4.1 .8.Final] 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] 2017 -06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出抑制:reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/ 0] 来自生产者 [reactor.core.publisher.MonoPeek] 的 OUT 装配跟踪:2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.Mono.checkpoint(Mono. java:1286) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT org.cloudfoundry.reactor.client.v3.tasks.ReactorTasks.create(ReactorTasks.java:58) 2017-06 -28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT org.springframework。cloud.deployer.spi.cloudfoundry.CloudFoundry2630AndLaterTaskLauncher.requestCreateTask(CloudFoundry2630AndLaterTaskLauncher.java:197) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT org.springframework.cloud.deployer.spi.cloudfoundry .CloudFoundry2630AndLaterTaskLauncher.launchTask(CloudFoundry2630AndLaterTaskLauncher.java:169) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundry2630AndLaterTaskLauncher.lambda$launch$0 (CloudFoundry2630AndLaterTaskLauncher.java:96) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.MonoThenMap$MonoThenApplyMain.onNext(MonoThenMap.java:100) 2017-06- 28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:928) 2017-06-28T13:34:59。15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.MonoThenMap$MonoThenApplyMain$SecondSubscriber.onNext(MonoThenMap.java:202) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB /0] OUT reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:165) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.MonoNext $NextSubscriber.onNext(MonoNext.java:78) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.MonoFlatMap$FlattenSubscriber$InnerSubscriber.onNext(MonoFlatMap.java:199) 2017-06-28T13:34:59.15 +0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114) 2017-06-28T13:34:59。15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:119) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0 ] OUT reactor.core.publisher.FluxUsing$UsingFuseableSubscriber.onNext(FluxUsing.java:320) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber .onNext(FluxFilterFuseable.java:108) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxPeekFuseable$PeekFuseableConditionalSubscriber.onNext(FluxPeekFuseable.java:412) 2017- 06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:928) 2017-06-28T13:34:59.15+0200 [APP /PROC/WEB/0] OUT reactor.core.publisher.MonoReduceSeed$ReduceSeedSubscriber。onComplete(MonoReduceSeed.java:142) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136) 2017-06 -28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.ipc.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:315) 2017-06-28T13:34:59.15+0200 [APP/ PROC/WEB/0] OUT reactor.ipc.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:427) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.ipc。 netty.channel.ChannelOperations.onHandlerTerminate(ChannelOperations.java:499) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.ipc.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations .java:469) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT reactor.ipc.netty.channel.ChannelOperationsHandler。channelRead(ChannelOperationsHandler.java:113) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) 2017-06-28T13 :34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/ 0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead( AbstractChannelHandlerContext.java:349) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:271) 2017-06-28T13:34:59.15 +0200 [APP/PROC/WEB/0] 输出 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io .netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.handler.codec.ByteToMessageDecoder.channelRead( ByteToMessageDecoder.java:267) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) 2017-06-28T13:34 :59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel。AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) 2017-06 -28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1228) 2017-06-28T13:34:59.15+0200 [APP/ PROC/WEB/0] 输出 io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1039) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty。 handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java :248) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.channel。AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) 2017-06 -28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341) 2017-06-28T13:34:59.15+0200 [APP/PROC/ WEB/0] 输出 io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.channel。 AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.AbstractChannelHandlerContext。invokeChannelRead(AbstractChannelHandlerContext.java:349) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) 2017-06-28T13 :34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129) 2017-06-28T13:34:59.15+0200 [APP/ PROC/WEB/0] 输出 io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:642) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty。 channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java :479) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] 输出 io.netty.channel.nio.NioEventLoop。run(NioEventLoop.java:441) 2017-06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) 2017- 06-28T13:34:59.15+0200 [APP/PROC/WEB/0] OUT 错误已被观察到

4

2 回答 2

0

We changed the timeout to 360 seconds and now we get a different error. The Task launcher itself starts with no problems using the java buildpack offline. But the task cannot be launched. This is the log output of the failing task:

   2017-07-03T13:08:22.03+0200 [STG/0] ERR Failed to clone git repository at https://github.com/cloudfoundry/java-buildpack.git
   2017-07-03T13:08:22.03+0200 [STG/0] OUT Exit status 1
   2017-07-03T13:08:22.05+0200 [STG/0] ERR Staging failed: Exited with status 1
   2017-07-03T13:08:22.05+0200 [STG/0] OUT Destroying container
   2017-07-03T13:08:22.35+0200 [STG/0] OUT Successfully destroyed container
于 2017-07-03T11:40:41.680 回答
0

在这种情况下,最常见的观察结果可能是 Task-API 超时。默认情况下,接收器(使用cf-deployer配置为 30 秒。任务容器的 PCF 生命周期可能需要超过 30 秒,然后任务应用程序本身需要在事后引导。

spring.cloud.deployer.cloudfoundry.api-timeout您可以通过DSL 中提供的属性更改超时。更多细节在这里

于 2017-06-30T22:52:28.797 回答