Can't deploy Google Cloud Datalab - Application in non-US zone

馋奶兔 提交于 2019-12-31 04:37:06

问题


I've selected my Google API project 4 times now and pushed "Deploy DataLab", but whenever I check back I have no Datalab project.

The last time I had the following error message, but I have billing enabled, am the owner and the BigQuery/Google Compute Engine APIs are activated.

Checking the logs it says I'm in the wrong region:

Oct 13 19:42:35 datalab-deploy-main-20151013-19-40-34 startupscript: Pushing tag for rev [b886390e822d] on {https://gcr.io/v1/repositories/_m_sdk/mark-edmondson-gde.datalab.main/tags/latest}
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: 07:42 PM Host: appengine.google.com
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: 07:42 PM Application: mark-edmondson-gde (was: None); module: datalab; version: main (was: None)
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: 07:42 PM 
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: Starting update of app: mark-edmondson-gde, module: datalab
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: 07:42 PM Getting current resource limits.
Oct 13 19:42:36 datalab-deploy-main-20151013-19-40-34 startupscript: 07:42 PM Scanning files on local disk.
Oct 13 19:42:37 datalab-deploy-main-20151013-19-40-34 startupscript: Error 400: --- begin server output ---
Oct 13 19:42:37 datalab-deploy-main-20151013-19-40-34 startupscript: Managed VMs can not be hosted in the application's region.
Oct 13 19:42:37 datalab-deploy-main-20151013-19-40-34 startupscript: --- end server output ---
Oct 13 19:42:37 datalab-deploy-main-20151013-19-40-34 startupscript: ERROR: (gcloud.preview.app.deploy) Command failed with error code [1]
Oct 13 19:42:37 datalab-deploy-main-20151013-19-40-34 startupscript: Step deploy datalab module failed.

回答1:


Currently managed VMs are in beta and only supported in the US.

Investigating if its possible to override the zone setting when deploying Datalab.




回答2:


Unfortunately, at this point, cloud projects created with non-US (i.e. "europe-west") App Engine location do not allow managed VM deployment. There is no override available as of now to deploy to a US-based location where managed VMs are available. A workaround would be to create another project and grant access to relevant data to the App Engine service account. Apologies for the inconvenience.



来源:https://stackoverflow.com/questions/33110656/cant-deploy-google-cloud-datalab-application-in-non-us-zone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!