I could deploy my app using appcfg.py since last thursday, but today I 
can't deploy it with Client Error(400).
I tried using gcloud app deploy. then I get these logs.

2017-08-16 03:18:55,159 DEBUG    root            Operation [apps/hitois-app/
operations/b9f147cf-ec8f-44fa-9087-9218a8e360df] complete. Result: {

 

    "metadata": { 

        "target": "apps/hitois-app/services/backjob/versions/9", 

        "method": "google.appengine.v1.Versions.CreateVersion", 

        "user": "sato...@kinois.net", 

        "insertTime": "2017-08-15T18:18:41.748Z", 

        "ephemeralMessage": "Copying 52 application files and 448 static 
files.", 

        "endTime": "2017-08-15T18:18:46.458Z", 

        "@type": 
"type.googleapis.com/google.appengine.v1.OperationMetadataV1" 

    }, 

    "done": true, 

    "name": 
"apps/hitois-app/operations/b9f147cf-ec8f-44fa-9087-9218a8e360df", 

    "error": { 

        "message": "An internal error occurred.", 

        "code": 13 

    } 

} 

2017-08-16 03:18:55,160 DEBUG    root            (gcloud.app.deploy) Error 
Response: [13] An internal error occurred. 

Traceback (most recent call last): 

  File "/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", 
line 811, in Execute 

    resources = args.calliope_command.Run(cli=self, args=args) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", 
line 784, in Run 

    resources = command_instance.Run(args) 

  File "/Users/satorun/google-cloud-sdk/lib/surface/app/deploy.py", line 62, 
in Run 

    args, api_client, runtime_builder_strategy=runtime_builder_strategy) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py"
, line 405, in RunDeploy 

    args.image_url, all_services, app.gcrDomain) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py"
, line 249, in Deploy 

    endpoints_info) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py"
, line 171, in DeployService 

    message=message) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py"
, line 206, in WaitForOperation 

    sleep_ms=retry_interval) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", 
line 266, in WaitFor 

    sleep_ms=sleep_ms) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", 
line 222, in RetryOnResult 

    if not should_retry(result, state): 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", 
line 260, in _IsNotDone 

    return not poller.IsDone(operation) 

  File 
"/Users/satorun/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py"
, line 131, in IsDone 

    encoding.MessageToPyValue(operation.error))) 

OperationError: Error Response: [13] An internal error occurred.


Because I changed few files, so I Restored them, and retry to deploy, but 
same Error has occurred.

I have some apps, Except for this application, I can deploy all apps.


yamls(frontend app.yaml / backend backjob.yaml) of App that can not be 
deployed setting is bellow.


app.yaml
application: hitois-app
version: 9
runtime: python27
instance_class: F2
automatic_scaling:
  min_idle_instances: 1
  max_idle_instances: 1
  min_pending_latency: automatic
  max_pending_latency: automatic
api_version: 1
threadsafe: true

inbound_services:
- warmup

default_expiration: "7d"

handlers:
- url: /stylesheets
  static_dir: sites/static/stylesheets

- url: /javascripts
  static_dir: sites/static/javascripts
  expiration: "0m"

- url: /images
  static_dir: sites/static/images

- url: /.*
  script: main.app

libraries:
- name: django
  version: "1.4"

- name: PIL
  version: "1.1.7"

- name: ssl
  version: "latest"


backjob.yaml
application: hitois-app
module: backjob
version: 9
runtime: python27
instance_class: B1
basic_scaling:
  max_instances: 2
  idle_timeout: 1m
api_version: 1
threadsafe: true

inbound_services:
- warmup

default_expiration: "7d"

handlers:
- url: /stylesheets
  static_dir: sites/static/stylesheets

- url: /javascripts
  static_dir: sites/static/javascripts
  expiration: "0m"

- url: /images
  static_dir: sites/static/images

- url: /.*
  script: main.app

libraries:
- name: django
  version: "1.4"

- name: PIL
  version: "1.1.7"

- name: ssl
  version: "latest"


I want to deploy new version. so please help me.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/663a9c96-0bd6-4ec8-ab54-3e5d850f98b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to