PlacementNotConfigured: This compute is not configured to talk to the placement service
原因:官方文档中遗漏了-nova-placement-api的安装
安装步骤
1、先安装openstack octca版本的yum源
yum install https://rdoproject.org/repos/rdo-release.rpm
2、控制节点
yum install openstack-nova-placement-api
firewall-cmd --zone=public --add-port=8778/tcp --permanent
firewall-cmd --reload
systemctl restart httpd
3、计算节点
编辑 /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
时间: 2024-11-05 14:40:30