Nazrul Kamaruddin
Nazrul Kamaruddin

Reputation: 23

Google Cloud Datalab setup process was unable to deploy App Engine application

I followed the steps to get started with Google Cloud Datalab.

The setup failed at this error:

Oct 14 09:20:26 datalab-deploy-main-20151014-09-18-39 startupscript: Oct 14 09:20:26 datalab-deploy-main-20151014-09-18-39 startupscript: env_variables: Oct 14 09:20:26 datalab-deploy-main-20151014-09-18-39 startupscript: DATALAB_ANALYTICS_ID: UA-54894152-3 Oct 14 09:20:26 datalab-deploy-main-20151014-09-18-39 startupscript: -------End of app.yaml------ Oct 14 09:20:26 datalab-deploy-main-20151014-09-18-39 startupscript: Start deploying... Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: You are about to deploy the following modules: Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: - team-marvel-sandbox/datalab/main From: [/datalab/app.yaml] Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: ERROR: (gcloud.preview.app.deploy) Server responded with code [404]: Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: This application does not exist (app_id=u'team-marvel-sandbox'). Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: ['_HTTPError__super_init', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__getslice__', '__hash__', '__init__', '__iter__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__unicode__', '__weakref__', 'args', 'close', 'code', 'errno', 'filename', 'fileno', 'fp', 'getcode', 'geturl', 'hdrs', 'headers', 'info', 'message', 'msg', 'next', 'read', 'readline', 'readlines', 'reason', 'strerror', 'url'] Oct 14 09:20:28 datalab-deploy-main-20151014-09-18-39 startupscript: Step deploy datalab module failed.

I tried a solution by deploying a empty skeleton application to App Engine and re-run the setup. It failed again with the same error.

Anybody has any experience dealing with this?

Upvotes: 2

Views: 365

Answers (2)

Bradley Jiang
Bradley Jiang

Reputation: 424

When your project was created, what is the App Engine location (in advanced options) you picked? Datalab depends on managed VM, which is only supported in US only. https://cloud.google.com/appengine/docs/managed-vms/.

Upvotes: 1

Bradley Jiang
Bradley Jiang

Reputation: 424

This is a known issue and it happens to certain projects. While the fix is on the way, the only workaround so far is to try deploying it into another project.

Upvotes: 2

Related Questions