Closed GunSik2 closed 8 years ago
The underline package versions are checked: https://bosh.io/releases/github.com/cloudfoundry/cf-release?version=212 https://bosh.io/releases/github.com/cloudfoundry/bosh?version=152 https://bosh.io/releases/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?version=13 https://bosh.io/stemcells http://boshartifacts.cloudfoundry.org/file_collections?type=stemcells
ubuntu@op-v222-bosh-init:~/workspace/cf-release$ bosh -n upload release releases/cf-212.yml
Acting as user 'admin' on 'bosh-director'
You are using CLI >= 0.20 with director that doesn't support package matches.
This will result in uploading all packages and jobs to your director.
It is recommended to update your director or downgrade your CLI to 0.19.6
The error condition1: https://bosh.io/d/github.com/cloudfoundry/bosh?v=222 https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=16 https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3012
ubuntu@op-v222-bosh-init:~/bin/bosh-init/manifest-bosh$ bosh -v BOSH 1.3126.0
The error condition2: https://bosh.io/d/github.com/cloudfoundry/bosh?v=209 https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=13 https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3012
ubuntu@op-v222-bosh-init:~/bin/bosh-init/manifest-bosh$ bosh -v BOSH 1.3126.0
Round3:
Command 'deploy' failed:
Deploying:
Building state for instance 'bosh/0':
Rendering job templates for instance 'bosh/0':
Rendering templates for job 'health_monitor/c2b27af52bd4b1739512845a7ab75e0d19b782bc':
Rendering template src: health_monitor.yml.erb, dst: config/health_monitor.yml:
Rendering template src: /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/bosh-init-release659907727/extract ed_jobs/health_monitor/templates/health_monitor.yml.erb, dst: /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/rendered -jobs997584404/config/health_monitor.yml:
Running ruby to render templates:
Running command: 'ruby /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/erb-renderer091600486/erb-rende r.rb /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/erb-renderer091600486/erb-context.json /home/ubuntu/.bosh_init/in stallations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/bosh-init-release659907727/extracted_jobs/health_monitor/templates/health_monitor.yml.erb /home/ ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/rendered-jobs997584404/config/health_monitor.yml', stdout: '', stderr: '/hom e/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/erb-renderer091600486/erb-render.rb:180:in `rescue in render': Error filli ng in template '/home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/bosh-init-release659907727/extracted_jobs/health_monit or/templates/health_monitor.yml.erb' for health_monitor/0 (line 4: #<TemplateEvaluationContext::UnknownProperty: Can't find property 'hm.http.user'>) (RuntimeError)
from /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/erb-renderer091600486/erb-render.rb:166:in `render'
from /home/ubuntu/.bosh_init/installations/e3e02f4b-d3b2-45b1-71d0-8e24be1af98f/tmp/erb-renderer091600486/erb-render.rb:191:in `<main>'
':
exit status 1
The root cause was absent of ip address in cf-stub.yml.
- name: cf2
type: manual
subnets:
- range: 192.168.200.0/24
gateway: 192.168.200.1
dns: [8.8.8.8]
static: #no static ip was defined.