启动应用超时-PCF DEV

start app Timeout-PCF DEV

Hi Anyone,

我试图将我的应用程序推送到我的笔记本电脑中安装的 PCF DEV 它正在抛出错误 "start app Timeout" PFB 完整跟踪日志在复制到容器失败时显示“已崩溃”。

  2016-09-25T02:05:31.32+0530 [STG/0]      OUT Downloaded app package (414.2M)
    2016-09-25T02:05:31.33+0530 [STG/0]      OUT Staging...
    2016-09-25T02:05:47.56+0530 [STG/0]      OUT -----> Java Buildpack Version: v3.6
     (offline) | https://github.com/cloudfoundry/java-buildpack.git#5194155
    2016-09-25T02:05:47.84+0530 [STG/0]      OUT -----> Downloading Open Jdk JRE 1.8
    .0_71 from https://download.run.pivotal.io/openjdk/trusty/x86_64/openjdk-1.8.0_7
    1.tar.gz (found in cache)
    2016-09-25T02:05:51.47+0530 [STG/0]      OUT        Expanding Open Jdk JRE to .j
    ava-buildpack/open_jdk_jre (3.6s)
    2016-09-25T02:05:51.53+0530 [STG/0]      OUT -----> Downloading Open JDK Like Me
    mory Calculator 2.0.1_RELEASE from https://download.run.pivotal.io/memory-calcul
    ator/trusty/x86_64/memory-calculator-2.0.1_RELEASE.tar.gz (found in cache)
    2016-09-25T02:05:51.79+0530 [STG/0]      OUT        Memory Settings: -Xms160M -X
    X:MetaspaceSize=64M -Xss853K -Xmx160M -XX:MaxMetaspaceSize=64M
    2016-09-25T02:05:51.79+0530 [STG/0]      OUT -----> Downloading Spring Boot CLI
    1.3.2_RELEASE from https://download.run.pivotal.io/spring-boot-cli/spring-boot-c
    li-1.3.2_RELEASE.tar.gz (found in cache)
    2016-09-25T02:05:52.67+0530 [STG/0]      OUT        Expanding Spring Boot CLI to
     .java-buildpack/spring_boot_cli (0.8s)
    2016-09-25T02:09:31.57+0530 [STG/0]      OUT Exit status 0
    2016-09-25T02:09:31.57+0530 [STG/0]      OUT Staging complete
    2016-09-25T02:09:31.57+0530 [STG/0]      OUT Uploading droplet, build artifacts
    cache...
    2016-09-25T02:09:31.57+0530 [STG/0]      OUT Uploading build artifacts cache...
    2016-09-25T02:09:31.57+0530 [STG/0]      OUT Uploading droplet...
    2016-09-25T02:09:32.24+0530 [STG/0]      OUT Uploaded build artifacts cache (108
    B)
    2016-09-25T02:10:51.16+0530 [STG/0]      OUT Uploaded droplet (464.1M)
    2016-09-25T02:10:51.34+0530 [STG/0]      OUT Uploading complete
    2016-09-25T02:10:56.21+0530 [CELL/0]     OUT Creating container
    2016-09-25T02:10:57.78+0530 [CELL/0]     OUT Successfully created container
    2016-09-25T02:13:24.09+0530 [API/0]      OUT App instance exited with guid 9006d
    0e4-3a3e-4ea3-8a9a-400ee980851c payload: {"instance"=>"81cb959d-9a2f-40c5-774e-8
    74d95fb9a6e", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"Copying into
     the container failed", "crash_count"=>1, "crash_timestamp"=>1474749803843656553
    , "version"=>"a1b05faa-ae62-4f1e-a633-caa78a281cc8"}
    2016-09-25T02:13:24.16+0530 [CELL/0]     OUT Creating container
    2016-09-25T02:13:26.69+0530 [CELL/0]     OUT Successfully created container
    2016-09-25T02:16:13.30+0530 [API/0]      OUT App instance exited with guid 9006d
    0e4-3a3e-4ea3-8a9a-400ee980851c payload: {"instance"=>"cde8bf35-f8bb-4c66-55e2-b
    e2e1855b0ce", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"Copying into
     the container failed", "crash_count"=>2, "crash_timestamp"=>1474749973094952167
    , "version"=>"a1b05faa-ae62-4f1e-a633-caa78a281cc8"}
    2016-09-25T02:16:13.44+0530 [CELL/0]     OUT Creating container
    2016-09-25T02:16:16.21+0530 [CELL/0]     OUT Successfully created container

我是 PCF Dev 的工程师。您的应用程序推送很可能 运行 磁盘空间不足 space。 PCF Dev 默认情况下对容器磁盘 space 有限制,以适应笔记本电脑环境。看起来你有一个相当大的应用程序。尝试使用 Cloud Foundry -k flag 推送它以指定容器磁盘 space.

Ex: cf push <app-name> -k 1G

可在此处找到更多信息:https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#disk-quota