0
Hi Anyone,

ラップトップにインストールされている PCF DEV にアプリケーションをプッシュしようとしましたが、コンテナーへのコピー中に「クラッシュ」というエラーが発生し、PFB の完全なトレース ログに "start app Timeout" というエラーがスローされました。

  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
4

1 に答える 1

0

私は PCF Dev のエンジニアです。アプリのプッシュでディスク容量が不足している可能性があります。PCF Dev は、ラップトップ環境に対応するために、デフォルトでコンテナーのディスク容量に制限を設けて出荷されます。かなり大きなアプリケーションがあるようです。Cloud Foundry でプッシュして、-k flagコンテナーのディスク領域を指定してみてください。

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

詳細については、https ://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#disk-quota を参照してください。

于 2016-09-28T20:30:56.320 に答える