[Openstack-operators] Failed to get metada
Juan José Pavlik Salles
jjpavlik at gmail.com
Mon May 13 21:40:30 UTC 2013
Hi, i'm trying to get metadata-service working but it's getting a bit
complicated.
When i start an instance i get these messages:
cloudinit start running: Mon, 13 May 2013 20:52:08 +0000. up 3.44 seconds
20130513 20:52:19,756 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [11/120s]: http
error [504]
20130513 20:52:28,821 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [20/120s]: http
error [504]
20130513 20:52:38,892 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [30/120s]: http
error [504]
20130513 20:52:47,955 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [39/120s]: http
error [504]
20130513 20:52:57,064 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [48/120s]: http
error [504]
20130513 20:53:06,132 util.py[WARNING]: '
http://169.254.169.254/20090404/metadata/instanceid' failed [57/120s]: http
error [504]
I have two different but related problems here: first of all i can't even
get metadata locally from the nova-api server and after fixing this i'll
have to deal with the how to get 169.254.169.254 be my metada-service.
I've checked nova.conf on my compute nodes and i have these flags:
metadata_host=172.19.136.10
metadata_listen=172.19.136.10
enabled_apis=ec2,osapi_compute,metadata
When i try to reach the medata with curl (
http://docs.openstack.org/trunk/openstack-compute/admin/content/metadata-service.html
):
root at asado:~# curl http://172.19.136.10:8775/
<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<h1>404 Not Found</h1>
The resource could not be found.<br /><br />
</body>
</html>root at asado:~#
In the nova-api.log file:
2013-05-13 21:06:56.024 22344 ERROR nova.api.metadata.handler [-] Failed to
get metadata for ip: 172.19.136.10
2013-05-13 21:06:56.025 22344 INFO nova.api.ec2 [-] 0.638368s 172.19.136.10
GET / None:None 404 [curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3] text/plain text/html
2013-05-13 21:06:56.025 22344 INFO nova.metadata.wsgi.server [-]
172.19.136.10 "GET / HTTP/1.1" status: 404 len: 278 time: 0.6391542
Maybe i'm doing the wrong tests here.
--
Pavlik Salles Juan José
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130513/1186d649/attachment.html>
More information about the OpenStack-operators
mailing list