[Openstack] Compute Node asks for [placement] section
Chris Friesen
chris.friesen at windriver.com
Thu Mar 2 00:02:17 UTC 2017
On 03/01/2017 05:13 PM, Georgios Dimitrakakis wrote:
> All,
>
> I am trying to deploy OpenStack Ocata on bare metal servers using the official
> guide from here:
> https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
>
> Unfortunately I have stuck at deploying the Compute Node due to the following
> error in the logs when I try to start nova-compute service:
>
> 2017-03-02 00:27:16.052 4236 INFO nova.service [-] Starting compute node
> (version 15.0.0-1.el7)
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service [-] Error starting thread.
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service Traceback (most recent
> call last):
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 722, in
> run_service
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service service.start()
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/nova/service.py", line 144, in start
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service self.manager.init_host()
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1136, in init_host
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service raise
> exception.PlacementNotConfigured()
> 2017-03-02 00:27:16.053 4236 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.
> 2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
Did it actually kill the nova-compute service or just complain in the logs? The
release notes for nova in Ocata say:
The nova-compute worker now communicates with the new placement API
service. Nova determines the placement API service by querying the
OpenStack service catalog for the service with a service type of
'placement'. If there is no placement entry in the service catalog,
nova-compute will log a warning and no longer try to reconnect to the
placement API until the nova-worker process is restarted.
Chris
More information about the Openstack
mailing list