Packstack Ocata does not configure nova for placement API

Bug #1661512 reported by Arslan Qadeer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Packstack
Fix Released
Undecided
Unassigned

Bug Description

After successful installation of OpenStack Ocata from PackStack, Nova Compute service cannot show up because of undefined parameters in [placement] section in nova.conf. Following are the nova-compute logs:

2017-02-02 10:40:26.041 9433 INFO nova.service [-] Starting compute node (version 15.0.0-0.20170202143422.734ba7d.el7.centos)
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service [-] Error starting thread.
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service Traceback (most recent call last):
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 722, in run_service
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service service.start()
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/service.py", line 144, in start
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service self.manager.init_host()
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1136, in init_host
2017-02-02 10:40:26.043 9433 ERROR oslo_service.service raise exception.PlacementNotConfigured()
2017-02-02 10:40:26.043 9433 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.

Even after manually populating those parameters as mentioned below it did not work for me.

auth_url=http://192.168.100.200:35357
username=admin
password=b8bcef5bc6c249bf
project_name=admin

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Nova placement api is being implemented in https://review.openstack.org/#/c/427892/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to packstack (master)

Reviewed: https://review.openstack.org/427892
Committed: https://git.openstack.org/cgit/openstack/packstack/commit/?id=3b7f02712655a0853626c6d11570871b91ced022
Submitter: Jenkins
Branch: master

commit 3b7f02712655a0853626c6d11570871b91ced022
Author: David Moreau-Simard <email address hidden>
Date: Wed Feb 1 15:13:33 2017 -0500

    Add support for Packstack to configure the new Nova requirements

    The Nova placement API is now required from Ocata onwards[1][2].
    This patch configures it to live generally side by side the nova API.

    Also, after a nova compute is set up, we need to call "nova-manage
    cell_v2 discover_hosts" to set up the host in a cell.

    [1]: http://lists.openstack.org/pipermail/openstack-dev/2017-January/111295.html
    [2]: https://review.openstack.org/#/c/427367/

    Closes-Bug: #1661512
    Change-Id: I4275cc6ed046a5fcd4b32c11e926beef5abad1cb

Changed in packstack:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.