首页 > 代码库 > openstack octca 缺少 placement Service 解决办法

openstack octca 缺少 placement Service 解决办法

根据官方文档安装,当启动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 解决办法