【1】部署版本: BOSH 1.5.0.pre.1657 bosh-stemcell-2624-openstack-kvm-centos.tgzcentos
name: microbosh-icehouseapi
logging: level: DEBUGruby
network: type: dynamic vip: 172.16.25.182 # Optional cloud_properties: net_id: 4fab3e5e-837a-4a43-8a4c-aebca74e4102app
resources: persistent_disk: 8192 cloud_properties: instance_type: m1.specialssh
cloud: plugin: openstack properties: openstack: auth_url: http://172.16.25.199:5000/v2.0 username: admin api_key: 5fd278c2aa884000 tenant: admin region: RegionOne # Optional default_security_groups: ["ssh", "bosh"] default_key_name: c2cloud private_key: ~/c2cloud.pem wait_resource_poll_interval: 5url
apply_spec: properties: director: max_threads: 3 hm: resurrector_enabled: true ntp: - 0.north-america.pool.ntp.org - 1.north-america.pool.ntp.org 【問題】 若是wait_resource_poll_interval: 5不配置,將致使部署失敗,失敗日誌: Applying micro BOSH spec |ooooooooooooooo | 7/11 00:09:32
ETA: 00:05:12/home/inchin/.rvm/gems/ruby-1.9.3-p547/gems/agent_client-1.5.0.pre.1657/lib/agent_client/base.rb:21:in method_missing': {"message"=>"Failed to install job 'micro_openstack.director': failed to process configuration template 'director.yml.erb.erb': line 342, error: Could not find cloud plugin: [\"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.2624.0/lib/bosh_agent/apply_plan/job.rb:229:in
install_failed'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.2624.0/lib/bosh_agent/apply_plan/job.rb:115:in `rescue in block in bind_configuration'",日誌