Hi,

I am setting up all-in-one ubuntu based kolla-ansible pike openstack.

Deployment is failing at following ansible task:
TASK [nova : include_tasks] **********************************************************************************************************************
included: /root/virtnev/share/kolla-ansible/ansible/roles/nova/tasks/discover_computes.yml for localhost

TASK [nova : Waiting for nova-compute service up] ************************************************************************************************
FAILED - RETRYING: Waiting for nova-compute service up (20 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (19 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (18 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (17 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (16 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (15 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (14 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (13 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (12 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (11 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (10 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (9 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (8 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (7 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (6 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (5 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (4 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (3 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (2 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (1 retries left).
fatal: [localhost -> localhost]: FAILED! => {"attempts": 20, "changed": false, "cmd": ["docker", "exec", "kolla_toolbox", "openstack", "--os-interface", "internal", "--os-auth-url", "http://192.168.122.151:35357", "--os-identity-api-version", "3", "--os-project-domain-name", "default", "--os-tenant-name", "admin", "--os-username", "admin", "--os-password", "ivpu1km8qxnVQESvAF4cyTFstOvrbxGUHjFF15gZ", "--os-user-domain-name", "default", "compute", "service", "list", "-f", "json", "--service", "nova-compute"], "delta": "0:00:02.555356", "end": "2019-05-02 09:24:45.485786", "rc": 0, "start": "2019-05-02 09:24:42.930430", "stderr": "", "stderr_lines": [], "stdout": "[]", "stdout_lines": ["[]"]}

--------------------------------------------------------------------

I can see following stack trace in nova-compute container log

4. 2019-05-02 08:21:30.522 7 INFO nova.service [-] Starting compute node (version 16.1.7)
2019-05-02 08:21:30.524 7 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.
2019-05-02 08:21:30.524 7 ERROR oslo_service.service Traceback (most recent call last):
2019-05-02 08:21:30.524 7 ERROR oslo_service.service   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_service/service.py", line 721, in run_service
2019-05-02 08:21:30.524 7 ERROR oslo_service.service     service.start()
2019-05-02 08:21:30.524 7 ERROR oslo_service.service   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/service.py", line 156, in start
2019-05-02 08:21:30.524 7 ERROR oslo_service.service     self.manager.init_host()
2019-05-02 08:21:30.524 7 ERROR oslo_service.service   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/compute/manager.py", line 1155, in init_host
2019-05-02 08:21:30.524 7 ERROR oslo_service.service     raise exception.PlacementNotConfigured()
2019-05-02 08:21:30.524 7 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.
2019-05-02 08:21:30.524 7 ERROR oslo_service.service
2019-05-02 08:21:59.229 7 INFO os_vif [-] Loaded VIF plugins: ovs, linux_bridge
---------------------------------------------------------------------

I saw nova-compute nova.conf has [placement] section configured well and it's same as nova_api's placement section.
Other nova containers are started well.

Any thoughts?
logo   
Shyam Biradar   Software Engineer | DevOps
M +91 8600266938 | shyam.biradar@trilio.io trilio.io