metadata and subnet gateway

asked 2015-07-13 03:08:10 -0500

imarino gravatar image

updated 2016-01-02 01:16:13 -0500

uts9 gravatar image

Hi all, a short question:

I need to enable the metadata agent with route injection but my subnets all have a gateway (which is required to connecting the tenant's subnets to the admin router) so is it possible to have metadata working on a subnet also if this one has a gateway?

Actually in the VM's logs I see:

2015-07-13 08:23:59,574 -[WARNING]: Calling '' failed [0/120s]: bad status code [404]

and in /var/log/neutron/neutron-metadata-agent.log:

2015-07-13 10:24:52.867 943515 INFO eventlet.wsgi.server [-],<local> - - [13/Jul/2015 10:24:52] "GET /2009-04-04/meta-data/instance-id HTTP/1.1" 404 176 0.073210

In my qrouter's NAT table I have:

Chain neutron-l3-agent-PREROUTING (1 references)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere         tcp dpt:http redir ports 9697

but i have no services running on port 9697.

Thanks for info.

edit retag flag offensive close merge delete



I nova.conf I had old settings from Kilo:

# service_neutron_metadata_proxy = True
# neutron_metadata_proxy_shared_secret = secret
service_metadata_proxy = True
metadata_proxy_shared_secret = secret
imarino gravatar imageimarino ( 2015-07-13 03:44:22 -0500 )edit

Are you using DVR?. I am getting this error on my kilo setup when DVR is enabled.

Facing same issue on Kilo setup

Node1: Controller + Network + Compute (l3_agent.ini -> agent_type dvr_snat )
Node2: Compute (l3_agent.ini -> agent_type dvr)
uts9 gravatar imageuts9 ( 2016-01-02 01:20:26 -0500 )edit