2016-01-22 17 views
0

我正试图部署应用程序在我的本地流浪机上运行的云代工。我已经使用bosh lite部署了CF。如何在使用bosh-lite运行在vagrant上的cloudfoundry中部署应用程序?


[email protected]:~$ bosh vms 
Acting as user 'admin' on 'Bosh Lite Director' 
Deployment `cf-warden' 

Director task 40 

Task 40 done 

+------------------------------------+--------------------+---------------+--------------+ 
| Job/index       | State    | Resource Pool | IPs   | 
+------------------------------------+--------------------+---------------+--------------+ 
| api_z1/0       | unresponsive agent | large_z1  |    | 
| consul_z1/0      | unresponsive agent | small_z1  |    | 
| doppler_z1/0      | unresponsive agent | medium_z1  |    | 
| etcd_z1/0       | unresponsive agent | medium_z1  |    | 
| ha_proxy_z1/0      | unresponsive agent | router_z1  |    | 
| hm9000_z1/0      | unresponsive agent | medium_z1  |    | 
| loggregator_trafficcontroller_z1/0 | running   | small_z1  | 10.244.0.146 | 
| nats_z1/0       | unresponsive agent | medium_z1  |    | 
| postgres_z1/0      | unresponsive agent | medium_z1  |    | 
| router_z1/0      | unresponsive agent | router_z1  |    | 
| runner_z1/0      | unresponsive agent | runner_z1  |    | 
| uaa_z1/0       | unresponsive agent | medium_z1  |    | 
+------------------------------------+--------------------+---------------+--------------+ 

VMs total: 12 

当我试图设定目标我得到了以下问题::

[email protected]:~$ cf api --skip-ssl-validation https://api.10.244.0.146.xip.io 
Setting api endpoint to https://api.10.244.0.146.xip.io... 
FAILED 
Error performing request: Get https://api.10.244.0.146.xip.io/v2/info: dial tcp 10.244.0.146:443: connection refused 

回答

1

看来乔布斯(api_z1/0等)是不可操作的该部署。他们都应该处于“跑步”状态。请通过运行“bosh cck”来尝试云检查命令并查看是否可以恢复它们。

将它们启动并运行后,请尝试改为:“cf api https://api.bosh-lite.com --skip-ssl-validation”

相关问题