问题描述
各位好,小弟在实际部署cloudfoundry的时候遇到一个问题特此求救。问题现象:在vsphere上部署cloudfoundry在部署microbosh的时候出现问题。boshcli上执行的命令如下:root@ubuntu:~/deployments#boshmicrodeploymentmicro01WARNING!Yourtargethasbeenchangedto`http://10.32.187.160:25555'!Deploymentsetto'/root/deployments/micro01/micro_bosh.yml'root@ubuntu:~/deployments#boshmicrodeploy~/stemcells/micro-bosh-stemcell-vsphere-0.6.4.tgzDeployingnewmicroBOSHinstance`micro01/micro_bosh.yml'to`http://10.32.187.160:25555'(type'yes'tocontinue):yesVerifyingstemcell...FileexistsandreadableOKUsingcachedmanifest...StemcellpropertiesOKStemcellinfo-------------Name:micro-bosh-stemcellVersion:0.6.4DeployMicroBOSHUnpackingstemcell||0/1100:00:04ETA:--:--:--/usr/local/rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/uri/common.rb:156:in`split':badURI(isnotURI?):https://10.32.187.159#ipaddressofvCenter/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.ymlname:micro01#thesamenameasyourfoldername#XXXusingmicro01network:ip:10.32.187.160#defineipformicroBOSHnetmask:255.255.255.128gateway:10.32.187.254dns:-10.32.255.10-8.8.8.8cloud_properties:name:"VMNetwork"#thisshouldbethesameasthe?°Network?±ofallyourvirtualmachinesresources:persistent_disk:51200cloud_properties:ram:2048disk:51200cpu:1cloud:plugin:vsphereproperties:agent:ntp:-time.windows.com-ntp02.las01.emcatmos.comvcenters:-host:10.32.187.159#ipaddressofvCenteruser:Administrator#userofvCenterpassword:hichinap0o9i8u&datacenters:-name:vDataCenter#nameofthedatacenteryoucreatedvm_folder:vm_folder#folderforvmstemplate_folder:template_folder#folderfortemplatesdisk_path:boshdeployer#diskpathwhereVMsarestored.datastore_pattern:NFSdatastore#nameofadatastoreorsomeregularexpressionmatchingthedatastorename.persistent_datastore_pattern:NFSdatastore#nameofadatastoreorsomeregularexpressionmatchingthepersistentdatastoreallow_mixed_datastores:true#trueiftwodatastorepatternsarethesameclusters:-vCluster#nameofyourclusterinyourdatacenter以下是我的vCenter目录截图,不知道uri怎么会无效159是我的vcenter160是我准备分给microbosh的ip
解决方案
解决方案二:
楼上的哥们,我暑假成功部署过cloudfoundry,我们可以交流一下。但是现在实验室网速不给力,我想下一个micro-bosh-stemcell-vsphere-0.6.4.tgz,你可以把下载好的文件打包给我么???谢谢