[Openstack] neutron 500 Internal Server Error meta-data service
Satish Patel
satish.txt at gmail.com
Sun Sep 4 19:47:02 UTC 2016
I have DVR network configured one controller and two compute node.
I have neutron-metadata-agent.service running on compute nodes but
its metadata-agent.ini file is default (nothing configured) should i
point this to controller node like nova_metadata_ip =
controller.ip.addess
I am getting following error
VM# curl http://169.254.169.254/meta-data
curl http://169.254.169.254/latest
<html>
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>500 Internal Server Error</h1>
Remote metadata server experienced an internal server error.<br /><br />
</body>
compute# tail -f /var/log/neutron/metadata-agent.log
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent [-]
Unexpected error.
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
Traceback (most recent call last):
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/neutron/agent/metadata/agent.py",
line 92, in __call__
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
return self._proxy_request(instance_id, tenant_id, req)
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/neutron/agent/metadata/agent.py",
line 195, in _proxy_request
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
body=req.body)
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line
1621, in request
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
(response, content) = self._request(conn, authority, uri, request_uri,
method, body, headers, redirections, cachekey)
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line
1363, in _request
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
(response, content) = self._conn_request(conn, request_uri, method,
body, headers)
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line
1284, in _conn_request
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
conn.connect()
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line
934, in connect
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
raise socket.error, msg
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
error: [Errno 111] ECONNREFUSED
2016-09-04 15:30:40.556 26255 ERROR neutron.agent.metadata.agent
2016-09-04 15:30:40.557 26255 INFO eventlet.wsgi.server [-]
192.168.1.16,<local> - - [04/Sep/2016 15:30:40] "GET /meta-data/
HTTP/1.1" 500 229 0.073428
More information about the Openstack
mailing list