Mac を再起動すると治りました。
GAE でアプリをデプロイするときは以下の様なコマンドを使います。
$ appcfg.py update アプリ名
正常に終了すると以下の様なログが出力されます。
$ appcfg.py update escape3ds/ 07:20 PM Host: appengine.google.com 07:20 PM Application: escape-3ds; version: 0 07:20 PM Starting update of app: escape-3ds, version: 0 07:20 PM Getting current resource limits. 07:20 PM Scanning files on local disk. 07:20 PM Cloning 10 static files. 07:20 PM Cloning 14 application files. 07:20 PM Uploading 1 files and blobs. 07:20 PM Uploaded 1 files and blobs 07:20 PM Compilation starting. 07:20 PM Compilation: 8 files left. 07:20 PM Compilation completed. 07:20 PM Starting deployment. 07:20 PM Checking if deployment succeeded. 07:20 PM Deployment successful. 07:20 PM Checking if updated app version is serving. 07:20 PM Completed update of app: escape-3ds, version: 0
しかし、以下のように永遠に終わらない状態になりました。
$ appcfg.py update escape3ds/ 07:05 PM Host: appengine.google.com 07:05 PM Application: escape-3ds; version: 0 07:05 PM Starting update of app: escape-3ds, version: 0 07:05 PM Getting current resource limits. 07:05 PM Scanning files on local disk. 07:05 PM Cloning 10 static files. 07:06 PM Cloning 14 application files. 07:06 PM Compilation starting. 07:06 PM Compilation: 8 files left. 07:06 PM Compilation completed. 07:06 PM Starting deployment. 07:06 PM Checking if deployment succeeded. 07:06 PM Deployment successful. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 1 seconds. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 2 seconds. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 4 seconds. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 8 seconds. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 16 seconds. 07:06 PM Checking if updated app version is serving. 07:06 PM Will check again in 32 seconds. 07:07 PM Checking if updated app version is serving. 07:07 PM Will check again in 60 seconds. 07:08 PM Checking if updated app version is serving. 07:08 PM Will check again in 60 seconds. 07:09 PM Checking if updated app version is serving. 07:09 PM Will check again in 60 seconds. 07:10 PM Checking if updated app version is serving. 07:10 PM Will check again in 60 seconds. 07:11 PM Checking if updated app version is serving. 07:11 PM Will check again in 60 seconds. 07:12 PM Checking if updated app version is serving. 07:12 PM Will check again in 60 seconds. 07:13 PM Checking if updated app version is serving. 07:13 PM Will check again in 60 seconds. 07:14 PM Checking if updated app version is serving. 07:14 PM Will check again in 60 seconds. 07:15 PM Checking if updated app version is serving. 07:15 PM Will check again in 60 seconds. 07:16 PM Checking if updated app version is serving. 07:16 PM Will check again in 60 seconds. ......
⌘ + C で中断してもう1度実行しても同じ現象が起きます。
短い時間に連続してデプロイ処理を行なっていたので、それが原因かも。
調べてみると同じ現象が起こっている人がいました。
Anyone else having difficulty deploying to GAE in the last two days?
https://groups.google.com/forum/?fromgroups#!topic/google-appengine/4nacCuJXClk
1度 Mac を再起動してみたら、正常な動作に戻りました。
0 件のコメント:
コメントを投稿