Cloud Foundry多节点环境RestClient请求VMC推送期间的超时

时间:2013-01-18 22:07:48

标签: ruby sinatra vmware cloudfoundry bosh

我正在使用VMC 0.3.18,我设置的环境就像这里讨论的那样:http://support.cloudfoundry.com/entries/20407923-single-multi-node-vcap-deployment-using-dev-setup

每个VM VCAP状态都声称它们的服务正在运行(即vcap_dev状态)但是当我尝试推送我知道可行的应用程序(在单节点环境中成功测试它)时,我收到一个HTTP异常:RestClient Timeout 。以下是推送应用程序时该行的显示内容。

root@myHome:~/Ruby/Hello# vmc push hello
Would you like to deploy from the current directory? [Yn]: Y
Detected a Sinatra Application, is this correct? [Yn]: Y
Application Deployed URL [hello.vcap.me]: hello.vcap.me
Memory reservation (128M, 256M, 512M, 1G, 2G) [128M]: 128M
How many instances? [1]: 1
Bind existing services to 'hello'? [yN]: N
Create services to bind to 'hello'? [yN]: N
Would you like to save this configuration? [yN]: N
Creating Application: OK
Uploading Application:
  Checking for available resources: OK
  Packing application: OK
  Uploading (0K): OK
Push Status: OK
Staging Application 'hello': .............................................HTTP exception: RestClient::RequestTimeout:Request Timeout

我试图加载的这些应用程序是简单的hello.rb文件http://docs.cloudfoundry.com/tools/vmc/installing-vmc.html#next-steps(向上滚动以查看文件)和env.rb,以回显页面的环境变量(在单节点的底部)上面提到的多节点页面)

关于我在这里做错了什么的想法?有什么建议吗?

1 个答案:

答案 0 :(得分:1)

您用于多节点设置的文档非常陈旧,云代工厂正处于快速开发阶段。

您可以在这里找到有关vcap的有效对话: https://groups.google.com/a/cloudfoundry.org/forum/?fromgroups#!forum/vcap-dev

如果您考虑使用chef进行多节点cf安装,建议您在此处使用Andrea Campi的脚本:https://github.com/zephirworks - 请注意,这是一个独立的项目。 Cloud Foundry团队正在从dev_setup转向BOSH安装。