openstack計算節點openstack-nova-compute不能啓動

1.查看/var/log/nova/nova-compute.log報錯信息:
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service [-] Error starting thread.: PlacementNotConfigured: This compute is not configured to talk to the placement service. Configure the [placement] section of nova.conf and restart the service.
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service Traceback (most recent call last):
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service File “/usr/lib/python2.7/site-packages/oslo_service/service.py”, line 731, in run_service
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service service.start()
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service File “/usr/lib/python2.7/site-packages/nova/service.py”, line 161, in start
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service self.manager.init_host()
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service File “/usr/lib/python2.7/site-packages/nova/compute/manager.py”, line 1169, in init_host
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service raise exception.PlacementNotConfigured()
2020-02-25 13:51:57.913 15800 ERROR oslo_service.service PlacementNotConfigured: This compute is not configured to talk to the placement service. Configure the [placement] section of nova.conf and restart the service.

2.查看未配置[placement], 官方文檔不完整
yum -y install openstack-nova-placement-api
#vim /etc/nova/nova.conf

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 = PASSWORD
os_region_name = RegionOne

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章