2012-12-19 51 views
1

我在设置多节点云代工厂(4个节点)时遇到了一个问题。 第一云代工厂设置

的问题是:我安装的组件的休息,当我执行〜/ dev_setup $斌/ vcap_dev_setup -c部署/样品/ multihost_mysql/rest.yml,有错误发生:

Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,354B]                       
Fetched 2,276kB in 38s (58.6kB/s)                                  
Reading package lists... Done 
Installing wget... 
Reading package lists... 
Building dependency tree... 
Reading state information... 
wget is already the newest version. 
0 upgraded, 0 newly installed, 0 to remove and 129 not upgraded. 
Checking web connectivity. 
Giving up. Cannot connect to the web. Check your proxy settings if you are behind a proxy. 
    In my network we don't use http proxy.I check vcap_dev_setup shell,find error occurs at 113 line. I notes it ,is that ok? 
    After this ,I run it again,but some other errors occur: 
    0 upgraded, 0 newly installed, 0 to remove and 129 not upgraded. 

Launching chef... 
Installing deployment rest, cloudfoundry home dir is /home/user/cloudfoundry 
Input Error: Please provide valid install jobs, following jobs are not recognized 
#<Set: {"mongodb", "redis"}> 

为什么?请帮助我,谢谢!

回答

1

你是在某种防火墙或代理之后吗?

+0

我们有防火墙,但没有代理。这些对任何网站或端口都没有限制。 –

+1

当你蜷缩http://api.cloudfoundry.com/info时,你会得到什么输出? –

+0

对不起,我今天看到你的笔记。我可以使用curl api.cloudfoundry.com/info,它返回一个jason字符串,但它也会发生“安装部署休息,cloudfoundry主目录是/home/user/cloudfoundry"。为什么?帮我 –