0

I'm trying to deploy a managed VM application to google cloud platform and I get the following error:

ERROR: (gcloud.preview.app.deploy) Not enough VMs ready (0/1 ready, 1 still deploying).
Deployed Version: converter:dev.386894231648366298

Also, a 503 http error is returned from the module.

The app.yaml is:

application: XXXXXXX
module:      converter
version: "dev"
runtime: python27
vm: true
api_version: 1
threadsafe: yes
manual_scaling:
  instances: 1
handlers:
- url: /.*
  script: urls.application
libraries:
- name: webapp2
  version: latest

The url.py is:

import webapp2
class MainHandler(webapp2.RequestHandler):
    def get(self):
        self.response.write('ok')
application = webapp2.WSGIApplication([
    ('/', MainHandler)
], debug=True)

I use a Dockerfile with:

FROM gcr.io/google_appengine/python-compat
ADD . /app/

gcloud version:

Google Cloud SDK 0.9.75
app 2015.08.23
app-engine-python 1.9.25
app-engine-python-extras 1.9.21
beta 2015.08.17
bq 2.0.18
bq-nix 2.0.18
core 2015.08.23
core-nix 2015.06.02
gae-python-launcher-mac 1.9.18
gcloud 2015.08.23
gcutil-nix 1.16.5
gsutil 4.13
gsutil-nix 4.12
preview 2015.08.23
preview-extensions-darwin-x86_64 0.10.1

What am I doing wrong?

Owen S.
  • 7,665
  • 1
  • 28
  • 44
Uri
  • 89
  • 1
  • 6

0 Answers0