← Back to team overview

openstack team mailing list archive

metadata server not responding

 

Hi

I have installed openstack on two node setup with rhel6.4. I am using
nova-network with multi_host=True. Everything is running on controller node
and second node is running nova-compute, nova-network and
nova-api-metadata. I can create vm's and it is getting ip address but  metadata
server is not responding. I can see that it is running

lsof -i:8775
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nova-api- 8009 nova    4u  IPv4  28815      0t0  TCP *:8775 (LISTEN)

curl http://169.254.169.254:8775

<html>
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />
 </body>

in metadata log file

8009 ERROR nova.api.metadata.handler [-] Failed to get metadata for ip:
169.254.169.254

iptable looking ok to me (I dont have much experience with iptable)

DNAT       tcp  --  anywhere             169.254.169.254     tcp dpt:http
to:192.168.9.3:8775

192.168.9.3 is the address of compute node.

Can some one suggest something please.

Thanks

Kashif

Follow ups