温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

openstack中怎么部署MicroBosh配置文件

发布时间:2021-07-13 11:24:01 来源:亿速云 阅读:92 作者:Leah 栏目:云计算

这篇文章给大家介绍openstack中怎么部署MicroBosh配置文件,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。

【部署文件】 #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: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'",

关于openstack中怎么部署MicroBosh配置文件就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI