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

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' 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 
# ip netns exec qrouter-cb80b040-f13f-4a67-a39e-353b1c873a0d iptables -L -t nat
# ip netns exec qrouter-cb80b040-f13f-4a67-a39e-353b1c873a0d curl