Failed initializing BOSH environment on vSphere
Jim
Hi all
I followed the instructions [1] to initialize BOSH environment on vSphere. I failed and only got the message "Rendering job templates... Failed". Where can I check more details about this failure? [2] is my console log and [3] is the content of bosh-deployment.yml. Thanks [1] http://bosh.io/docs/init-vsphere.html [2] $ bosh-init deploy ./bosh-deployment.yml Deployment manifest: '/root/bosh-deployment.yml' Deployment state: '/root/bosh-deployment-state.json' Started validating Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00) Validating release 'bosh'... Finished (00:00:06) Downloading release 'bosh-vsphere-cpi'... Skipped [Found in local cache] (00:00:00) Validating release 'bosh-vsphere-cpi'... Finished (00:00:02) Validating cpi release... Finished (00:00:00) Validating deployment manifest... Finished (00:00:00) Downloading stemcell... Skipped [Found in local cache] (00:00:00) Validating stemcell... Finished (00:00:23) Finished validating (00:00:32) Started installing CPI Compiling package 'vsphere_cpi_ruby/0c03029a8dc9a4ca54dd6176cac0889bc3b7164b'... Finished (00:00:00) Compiling package 'vsphere_cpi_mkisofs/119afa2c404bc138e81efd2518312e39b32d6860'... Finished (00:00:00) Compiling package 'vsphere_cpi/a53fb49b54fb20120e1b864d82904ced2f141dea'... Finished (00:00:00) Installing packages... Finished (00:00:01) Rendering job templates... Failed (00:00:00) [3] --- name: bosh releases: - name: bosh url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=158 sha1: a97811864b96bee096477961b5b4dadd449224b4 - name: bosh-vsphere-cpi url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release ?v=3 sha1: cf529297a72c8d0ec489b06632725f638108ed33 resource_pools: - name: vms network: private stemcell: # url: https://bosh.io/d/stemcells/bosh-vsphere-esxi-ubuntu-trusty-go_agent?v=2950 url: http://localhost/bosh-stemcell-2950-vsphere-esxi-ubuntu-trusty-go_agent.tgz sha1: bf2752e1be480d75a34e127a0989b3b16a7ee9aa cloud_properties: cpu: 2 ram: 4_096 disk: 20_000 env: bosh: # c1oudc0w is a default password for vcap user password: "$6$4gDD3aV0rdqlrKC$2axHCxGKIObs6tAmMTqYCspcdvQXh3JJcvWOY2WGb4SrdXtnCyNaWlrf 3WEqvYR2MYizEGp3kMmbpwBC6jsHt0" disk_pools: - name: disks disk_size: 20_000 networks: - name: private type: manual subnets: - range: 10.0.0.0/24 gateway: 10.0.0.1 dns: [10.0.0.2] cloud_properties: {name: VM Network} # <--- Replace with Network name jobs: - name: bosh instances: 1 templates: - {name: nats, release: bosh} - {name: redis, release: bosh} - {name: postgres, release: bosh} - {name: blobstore, release: bosh} - {name: director, release: bosh} - {name: health_monitor, release: bosh} - {name: cpi, release: bosh-vsphere-cpi} resource_pool: vms persistent_disk_pool: disks networks: - {name: private, static_ips: [10.0.0.6]} properties: nats: address: 127.0.0.1 user: nats password: nats-password redis: listen_addresss: 127.0.0.1 address: 127.0.0.1 password: redis-password postgres: &db host: 127.0.0.1 user: postgres password: postgres-password database: bosh adapter: postgres blobstore: address: 10.0.0.6 port: 25250 provider: dav director: {user: director, password: director-password} agent: {user: agent, password: agent-password} director: address: 127.0.0.1 name: my-bosh db: *db cpi_job: cpi hm: http: {user: hm, password: hm-password} director_account: {user: admin, password: admin} resurrector_enabled: true vcenter: &vcenter # <--- Replace values below address: 140.92.25.235 user: administrator(a)vsphere.local password: !QAZ2wsx datacenters: - name: iSMB vm_folder: my-bosh-vms template_folder: my-bosh-templates datastore_pattern: datastore_69 persistent_datastore_pattern: datastore_69 disk_path: my-bosh-disks clusters: [iSMB IaaS] agent: {mbus: "nats://nats:nats-password(a)10.0.0.6:4222"} ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org] cloud_provider: template: {name: cpi, release: bosh-vsphere-cpi} mbus: "https://mbus:mbus-password(a)10.0.0.6:6868" properties: vcenter: *vcenter agent: {mbus: "https://mbus:mbus-password(a)0.0.0.0:6868"} blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache} ntp: *ntp Jim Software Engineer jinsenglin(a)iii.org.tw Data Analytics Technology & Applications Research Institute (DATA) http://www.iii.org.tw/ |
|