Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable curl 169.254.169.254 from my VM (using neutron)

Hi everyone, Sorry for bother you again. But now I have a question about metadata service when I launch a VM. The openstack instalation use a neutron to network and metadata service. I can launch a VM (image cirros), ping and access via ssh to VM. But when I try, from my VM, this curl 169.254.169.254:8775 I received this answer: couldn't connect to host

Looked on the log of VM I've found this message:

2014-01-07 20:55:30,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [23/120s]: url error [[Errno 113] No route to host]^M 2014-01-07 20:55:33,919 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [26/120s]: url error [[Errno 113] No route to host]^M 2014-01-07 20:55:36,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [29/120s]: url error [[Errno 113] No route to host]^M 2014-01-07 20:55:41,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [34/120s]: url error [[Errno 113] No route to host]^M

Looking to the nova.conf the metadata api is enable. And the port 8775 is listening as I've confirmed using this command: netstat -nap | grep 8775 tcp 0 0 0.0.0.0:8775 0.0.0.0:* LISTEN 11874/python

Can help and explain me why this happen, I will be grateful for your help.

Best Regards, Rafael.

Unable curl 169.254.169.254 from my VM (using neutron)

Hi everyone, Sorry for bother you again. But now I have a question about metadata service when I launch a VM. The openstack instalation use a neutron to network and metadata service. I can launch a VM (image cirros), ping and access via ssh to VM. But when I try, from my VM, this curl 169.254.169.254:8775 169.254.169.254:8775 I received this answer: couldn't connect to host

Looked on the log of VM I've found this message:

2014-01-07 20:55:30,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [23/120s]: url error [[Errno 113] No route to host]^M host]
2014-01-07 20:55:33,919 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [26/120s]: url error [[Errno 113] No route to host]^M host]
2014-01-07 20:55:36,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [29/120s]: url error [[Errno 113] No route to host]^M host]
2014-01-07 20:55:41,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [34/120s]: url error [[Errno 113] No route to host]^M

host]

Looking to the nova.conf the metadata api is enable. And the port 8775 is listening as I've confirmed using this command: netstat -nap | grep 8775 tcp 0 0 0.0.0.0:8775 0.0.0.0:* LISTEN 11874/python

Can help and explain me why this happen, I will be grateful for your help.

Best Regards, Rafael.