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

openstack octca 缺少 placement Service 解决办法

时间:2017-02-25 21:52:46      阅读:2414      评论:0      收藏:0      [点我收藏+]

标签:service   create   public   admin   

根据官方文档安装,当启动nova-compute时会报错


PlacementNotConfigured: This compute is not configured to talk to the placement service

原因:官方文档中遗漏了-nova-placement-api的安装


我总结的安装步骤

1、控制节点

yum install openstack-nova-placement-api


openstack service create --name placement --description "OpenStack Placement" placement


openstack endpoint create --region RegionOne placement public http://<ip>:8778

openstack endpoint create --region RegionOne placement admin http://<ip>:8778

openstack endpoint create --region RegionOne placement intenal http://<ip>:8778

systemctl restart httpd

2、计算节点

编辑 /etc/nova/nova.conf

增加

[placement]

auth_uri = http://controller:5000

auth_url = http://controller:35357

memcached_servers = controller:11211

auth_type = password

project_domain_name = default

user_domain_name = default

project_name = service

username = nova

password = ******

os_region_name = RegionOne

 重启 systemctl restart openstack-nova-compute.service


openstack octca 缺少 placement Service 解决办法

标签:service   create   public   admin   

原文地址:http://superbigsea.blog.51cto.com/6862263/1901216

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