部署Google Cloud Datalab失败了"没有足够的虚拟机准备就绪"

时间:2015-10-18 10:50:15

标签: google-cloud-datalab

我有一个issue with a non-US project后改为新项目,但现在我遇到了不同的错误问题。

我现在在美国东部项目区,已开通结算。

这次的问题详见日志:

Oct 18 10:43:59 datalab-deploy-main-20151018-10-34-58 startupscript: 10:43 AM Not enough VMs ready (0/1 ready, 1 still deploying). Deployed Version: datalab:main.387933421330143384
Oct 18 10:43:59 datalab-deploy-main-20151018-10-34-58 startupscript: ERROR: Not enough VMs ready (0/1 ready, 1 still deploying). Deployed Version: datalab:main.387933421330143384
Oct 18 10:43:59 datalab-deploy-main-20151018-10-34-58 startupscript: 10:43 AM Rolling back the update.  This can sometimes take a while since a VM version is being rolled back.
Oct 18 10:44:00 datalab-deploy-main-20151018-10-34-58 startupscript: Could not start serving the given version.
Oct 18 10:44:00 datalab-deploy-main-20151018-10-34-58 startupscript: ERROR: (gcloud.preview.app.deploy) Command failed with error code [1]
Oct 18 10:44:00 datalab-deploy-main-20151018-10-34-58 startupscript: Step deploy datalab module failed.
几周后我再次尝试,仍然遇到同样的错误。这是日志:

    Nov 10 10:01:10 datalab-deploy-main-20151110-09-59-21 startupscript: If this is your first deployment, this may take a while...#015If this is your first deployment, this may take a while.../#015If this is your first deployment, this may take a while...-#015If this is your first deployment, this may take a while...\#015If this is your first deployment, this may take a while...|#015If this is your first deployment, this may take a while...done.
    Nov 10 10:01:10 datalab-deploy-main-20151110-09-59-21 startupscript: 
    Nov 10 10:01:10 datalab-deploy-main-20151110-09-59-21 startupscript: Building and pushing image for module [datalab]
    Nov 10 10:01:49 datalab-deploy-main-20151110-09-59-21 startupscript: Updating module [datalab]...#015
Updating module [datalab].../#015
Updating module [datalab]...-#015
Updating module [datalab]...\#015
Updating module [datalab]...|#015
Updating module [datalab].../#015
Updating module [datalab]...-#015

重复批次,直到最后......

startupscript: ERROR: (gcloud.preview.app.deploy) Not enough VMs ready (0/1 ready, 1 still deploying). Version: datalab:main.388466283677388941
Nov 10 10:08:22 datalab-deploy-main-20151110-09-59-21 startupscript: Step deploy datalab module failed.

在一个全新的项目中再次尝试我现在​​收到权限错误:

Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript: Verifying that Managed VMs are enabled and ready.
Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript: If this is your first deployment, this may take a while...#015If this is your first deployment, this may take a while...done.
Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript: WARNING: If this is your first deployment, please try again.
Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript: ERROR: (gcloud.preview.app.deploy) Server responded with code [403]:
Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript:   Forbidden Unexpected HTTP status 403.
Nov 10 21:48:41 datalab-deploy-main-20151110-21-42-57 startupscript:   You do not have permission to modify this app (app_id=u's~random-bananas-111111').
Nov 10 21:48:42 datalab-deploy-main-20151110-21-42-57 startupscript: Step deploy datalab module failed.

5 个答案:

答案 0 :(得分:2)

这里没有任何建议有所帮助,但在第四个新项目并尝试再次部署之后,持久性被证明是答案而且有效:)

答案 1 :(得分:1)

对于此问题:“您无权修改此应用..”,请转到权限并重新创建XXXXX-compute @ ...帐户。这对我有用。

对于原始问题:“没有足够的虚拟机准备好”,我不得不重新创建项目并再次尝试。终于明白了。

答案 2 :(得分:0)

"没有足够的虚拟机准备就绪"可能是一个短暂的错误。你可以重试一下,看看你是否进一步了?

...谢谢

答案 3 :(得分:0)

它可能是由权限问题引起的,最近可能已修复。你能再试一次吗?如果仍然出现相同的错误,请尝试以下操作:

  1. 转到开发者控制台,权限,在“服务帐户”下,找到帐户[project-id] @ appspot.gserviceaccount.com。

  2. 将帐户ID复制到其他位置,因为我们稍后会使用它。然后从列表中删除该帐户,确保该列表从列表中消失,然后使用“可以编辑”权限将其添加回来。

  3. 等待几分钟后再尝试部署Datalab。

  4. 问题可能是项目特定的,所以如果可能的话,您也可以在新项目中尝试使用Datalab。

    让我知道它是怎么回事!

答案 4 :(得分:0)

我建议去操作>记录并选择" crash.log"和"任何级别"对于您尝试部署的版本。您将获得大量无组织日志的转储,但很可能会出现错误,导致无法构建容器。

是的,错误消息完全没有用,但日志应该捕获导致容器失败的问题。

如果这不起作用,请尝试使用docker在本地运行容器,并确保它构建。