bosh—cli部署micro bosh出现报错,求解答。

zhanhua9998 2012-12-24 03:37:39
各位好,小弟在实际部署cloudfoundry的时候遇到一个问题特此求救。
问题现象:在vsphere上部署cloudfoundry在部署microbosh的时候出现问题。
boshcli上执行的命令如下:
root@ubuntu:~/deployments# bosh micro deployment micro01
WARNING! Your target has been changed to `http://10.32.187.160:25555'!
Deployment set to '/root/deployments/micro01/micro_bosh.yml'
root@ubuntu:~/deployments# bosh micro deploy ~/stemcells/micro-bosh-stemcell-vsphere-0.6.4.tgz
Deploying new micro BOSH instance `micro01/micro_bosh.yml' to `http://10.32.187.160:25555' (type 'yes' to continue): yes

Verifying stemcell...
File exists and readable OK
Using cached manifest...
Stemcell properties OK

Stemcell info
-------------
Name: micro-bosh-stemcell
Version: 0.6.4


Deploy Micro BOSH
Unpacking stemcell | | 0/11 00:00:04 ETA: --:--:--/usr/local/rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/uri/common.rb:156:in `split': bad URI(is not URI?): https://10.32.187.159 # ip address of vCenter/sdk/vimService (URI::InvalidURIError)
from /usr/local/rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
from /usr/local/rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/ruby_vim_sdk-0.0.3/lib。。。。。。。
这里的uri不知怎么出现这个问题的,相应的配置如下(各种照搬官网)。
这是我的micro.yml
name: micro01 #the same name as your folder name
#XXX using micro01
network:
ip: 10.32.187.160 #define ip for micro BOSH
netmask: 255.255.255.128
gateway: 10.32.187.254
dns:
- 10.32.255.10
- 8.8.8.8
cloud_properties:
name: "VM Network" #this should be the same as the ?°Network?± of all your virtual machines
resources:
persistent_disk: 51200
cloud_properties:
ram: 2048
disk: 51200
cpu: 1
cloud:
plugin: vsphere
properties:
agent:
ntp:
- time.windows.com
- ntp02.las01.emcatmos.com
vcenters:
- host: 10.32.187.159 # ip address of vCenter
user: Administrator #user of vCenter
password: hichinap0o9i8u&
datacenters:
- name: vDataCenter #name of the datacenter you created
vm_folder: vm_folder #folder for vms
template_folder: template_folder #folder for templates
disk_path: boshdeployer #disk path where VMs are stored.
datastore_pattern: NFSdatastore #name of a datastore or some regular expression matching the datastore name.
persistent_datastore_pattern: NFSdatastore #name of a datastore or some regular expression matching the persistent datastore
allow_mixed_datastores: true #true if two datastore patterns are the same
clusters:
- vCluster #name of your cluster in your datacenter

以下是我的vCenter目录截图,不知道uri怎么会无效


159是我的vcenter
160是我准备分给microbosh的ip
...全文
2574 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
treedemo 2013-01-06
  • 打赏
  • 举报
回复
E30714090 2012-12-27
  • 打赏
  • 举报
回复
楼上的哥们,我暑假成功部署过cloudfoundry,我们可以交流一下。但是现在实验室网速不给力,我想下一个micro-bosh-stemcell-vsphere-0.6.4.tgz,你可以把下载好的文件打包给我么???谢谢

547

社区成员

发帖
与我相关
我的任务
社区描述
Cloud Foundry是业界第一个开源PaaS云平台,它支持多种框架、语言、运行时环境、云平台及应用服务,使开发人员能够在几秒钟内进行应用程序的部署和扩展,无需担心任何基础架构的问题。
社区管理员
  • Cloud Foundry社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧