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
Hi Chris,
it is constantly printing this output in the log and also prevents the
openstack-nova-compute.service
from being shown as Active (running) when doing a "systemctl status
openstack-nova-compute.service"
There is already a proposed bug fix
https://review.openstack.org/#/c/440140/ which seems to solve this
problem
For reference I 've added the following in the "placement" section of
nova.conf in the compute node
[placement]
# ...
os_region_name = RegionOne
project_domain_name = Default
user_domain_name = Default
project_name = service
auth_type = password
username = nova
password = NOVA_PASS
auth_url = http://controller:35357/v3
Best regards,
George
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack