Instances not launching in Ocata

asked 2017-05-18 20:00:18 -0600

AndyWojo gravatar image

I'm running Ocata, and when I try and launch a VM I get Placement API errors showing a 404:

 nova_placement_access.log
    192.168.241.115 - - [17/May/2017:18:32:01 -0400] "POST /placement/resource_providers HTTP/1.1" 404 367 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
    192.168.241.115 - - [17/May/2017:18:32:01 -0400] "GET /placement/resource_providers/f4df986c-1a2c-4e0f-827e-9867f5b16b66/allocations HTTP/1.1" 404 367 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"

It looks like it's running, because I can telnet to that address:

root@gvicopnstk01:/etc/apache2/sites-enabled# telnet 127.0.0.1 8778
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.


^C^C^C^C^C
Connection closed by foreign host.

The nova conf looks good: I read some things about os_region_name being weird, so I tried to comment it out.

[placement]
os_region_name = openstack
project_domain_name = default
project_name = service
auth_type = password
user_domain_name = default
auth_url = http://gvicopnstk01:35357/v3
username = placement
password = placement

Any idea what's going on?

edit retag flag offensive close merge delete

Comments

Perhaps the URL /placement is wrong. Can you also curl http://whatever-address/placement?

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-18 20:54:40 -0600 )edit

can you paste the o/p of [placement_database] section of the nova.conf file. Also, paste the following o/p.

openstack endpoint list | grep placement netstat -anp | grep 8778

DarkKnight gravatar imageDarkKnight ( 2017-05-18 23:37:41 -0600 )edit