Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ocata The placement API endpoint not found on Ubuntu

Hello. I am here again,Last time I have try to install Ocata on Cenots 7,get placement API problem and fix it at last. But I stil get placement API try to install Ocata on Ubuntu.
I have apt-get install nova-placement-api and apache2 site seems work.
Listen 8778
<virtualhost *:8778="">
WSGIScriptAlias / /usr/bin/nova-placement-api
Seems I should create service endbpoint like this:
openstack service create --name placement --description "OpenStack Placement" placement
openstack endpoint create --region RegionOne placement public http://controller:8778
openstack endpoint create --region RegionOne placement admin http://controller:8778
openstack endpoint create --region RegionOne placement internal http://controller:8778

But when I restart nova service, I get the follow error:
2017-03-08 15:16:00.930 22919 WARNING nova.scheduler.client.report [req-70d8f814-a975-4fb4-adf2-647152f94c5f - - - - -] The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.

root@controller:/var/log/nova# nova-status upgrade check +-------------------------------------------------------------------
| Upgrade Check Results
+-------------------------------------------------------------------
| Check: Cells v2
| Result: Success
| Details: None
+-------------------------------------------------------------------
| Check: Placement API
| Result: Failure
| Details: Placement API endpoint not found.
+-------------------------------------------------------------------
| Check: Resource Providers
| Result: Warning
| Details: There are no compute resource providers in the Placement
| service but there are 1 compute nodes in the deployment.
| This means no compute nodes are reporting into the
| Placement service and need to be upgraded and/or fixed.
| See
| http://docs.openstack.org/developer/nova/placement.html
| for more details.
+-------------------------------------------------------------------

I even try endpoint like http://controller:8778/placement ,http://controller:8780/placement,http://controller:8780,but still get same issue. and tcpdump -i any portrange 8700-8799 show nothing.Is there any step for setup Ocata send Placement API request?