码迷,mamicode.com
首页 > 其他好文 > 详细

openstack部署MicroBosh配置文件

时间:2014-09-11 12:40:33      阅读:285      评论:0      收藏:0      [点我收藏+]

标签:http   io   os   java   ar   文件   问题   sp   log   

【1】部署版本:
BOSH 1.5.0.pre.1657
bosh-stemcell-2624-openstack-kvm-centos.tgz

【部署文件】

micro_bosh.yml


name: microbosh-icehouse

logging:
level: DEBUG

network:
type: dynamic
vip: 172.16.25.182 # Optional
cloud_properties:

net_id: 4fab3e5e-837a-4a43-8a4c-aebca74e4102

resources:
persistent_disk: 8192
cloud_properties:

instance_type: m1.special

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: 5

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:ininstall_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‘",

openstack部署MicroBosh配置文件

标签:http   io   os   java   ar   文件   问题   sp   log   

原文地址:http://my.oschina.net/u/216115/blog/312334

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!