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

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

扫码关注云+社区

领取腾讯云代金券