Ask Your Question

Revision history [back]

Can you try using the cirros image just to validate it's not an image issue. If you don't have it in your environment just download and upload it with the following commands. Then just launch an instance and see if the metadata populates.

wget -P /tmp/images http://cdn.download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img

glance image-create --name "cirros-0.3.3-x86_64" --file /tmp/images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress

Looking to the nova.conf confirm the metadata api is enabled. And the port 8775 is listening please confirm using this command: netstat -nap | grep 8775 or whatever port you're using.

If you access the instance via the console does 'curl http://169.254.169.254/latest/meta-data' return any results?

also if you are using neutron can you run 'ip netns' to see if it's accessible from your router. One more question. Please run

# ip netns list 
qrouter-cb80b040-f13f-4a67-a39e-353b1c873a0d 
qdhcp-166d9651-d299-47df-a5a1-b368e87b612f
# ip netns exec qrouter-cb80b040-f13f-4a67-a39e-353b1c873a0d iptables -L -t nat
# ip netns exec qrouter-cb80b040-f13f-4a67-a39e-353b1c873a0d curl http://169.254.169.254/