iesgn / openstack-debian-ansible

Ansible playbooks for installing OpenStack on Debian
GNU General Public License v3.0
17 stars 16 forks source link

neutron-metadata-agent shows 500 Internal Server Error #12

Closed albertomolina closed 9 years ago

albertomolina commented 9 years ago

An instance can't comunicate properly to it's metadata proxy process, an HTTP 500 Internal server error is obtained: curl http://169.254.169.254/latest

500 Internal Server Error

500 Internal Server Error

Remote metadata server experienced an internal server error.

The corresponding neutron-ns-metadata-proxy-7db6a2d8-1923-4fed-a07f-e37dc85a7ef0.log only shows these lines:

2014-10-28 16:30:46.418 19634 INFO neutron.wsgi - accepted ('10.0.0.6', 56866)

2014-10-28 16:30:46.647 19634 INFO neutron.wsgi [-] 10.0.0.6 - - [28/Oct/2014 16:30:46] "GET /latests HTTP/1.1" 500 247 0.227980

albertomolina commented 9 years ago

Turning debugging true in metadata-agent.ini more information can be obtained from neutron-metadata-agent.log: ... EndpointNotFound: adminURL endpoint for network service not found ...

It seems the problem could be related to File-based Keystone Service Catalog,

albertomolina commented 9 years ago

It's not possible to use file based keystone catalog in multinode. It works well in controller node, but there are some services (like neutron-metadata service) which doesn't comunicate properly with keystone.

I'm not sure if it's a bug on Icehouse or a feature. So we are moving to SQL based keystone catalog for services and endpoints, but this step has been made by hand.

I'm closing this bug