2012-12-19 49 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"。爲什麼?幫我 –