Ruby Stack无法在Google Developers Console上部署 [英] Ruby Stack failed to deploy on Google Developers Console

查看:111
本文介绍了Ruby Stack无法在Google Developers Console上部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Google Developers Console部署Ruby堆栈,但没有成功。我在其他项目上试了几次,错误总是一样的(下面)。



你知道它为什么会一直失败么?

  2014/10/23 15:59:44 
ruby​​StackBox:PENDING
2014/10/23 15:59:55〜2014 / 10/23 16:06:01
ruby​​StackBox:部署
2014/10/23 16:06:11
ruby​​StackBox:DEPLOYMENT_FAILED
Replica ruby​​stackbox-eaeo失败,状态为PERMANENTLY_FAILING:Replica状态更改为PERMANENTLY_FAILING。副本连续两次不健康。


解决方案

我复制了您经历过多次的问题,失败。在部署ruby堆栈时,最后的工作是使用区域/区域:

Developers console>点击部署>设置MySQL密码>高级选项,选择一个不同的区域并点击 Deploy



另一个有用的工具调查这是控制台输出。即使部署失败,您也可以转到 VM实例,并在页面底部检查 View Output 。它会列出所有软件包和遇到的任何错误。以下命令将实现相同的功能:

  $ gcloud计算实例get-serial-port-output< INSTANCE_NAME> --project< PROJECT_ID> - 区域< ZONE_NAME> 

请注意是否仍有问题。


I tried to deploy Ruby stack using Google Developers Console, but no success. I tried several times at other project, error was always the same (below).

Do you have any idea why it keeps failing?

2014/10/23 15:59:44
rubyStackBox: PENDING
2014/10/23 15:59:55~2014/10/23 16:06:01
rubyStackBox: DEPLOYING
2014/10/23 16:06:11
rubyStackBox: DEPLOYMENT_FAILED
Replica rubystackbox-eaeo failed with status PERMANENTLY_FAILING: Replica State changed to PERMANENTLY_FAILING. Replica was unhealthy 2 consecutive times.

解决方案

I replicated the issue you experienced several times and it also failed. What finally worked was playing with the zones/regions when deploying the ruby stack :

Developers console > Click-to-deploy > Set MySQL password > Advanced Options, choose a different zone and click Deploy.

Another useful tool when investigating this is Console Output. Even if the deployment fails, you can go to the VM instance and check View Output towards the bottom of the page. It will list all the packages and any errors encountered. The following command will achieve the same thing:

$ gcloud compute instances get-serial-port-output <INSTANCE_NAME> --project <PROJECT_ID> --zone <ZONE_NAME>

Please advise if still seeing issues.

这篇关于Ruby Stack无法在Google Developers Console上部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆