How to set up metadata service on a flat network?

asked 2013-05-09 16:29:12 -0600

aso726 gravatar image

updated 2013-06-11 10:25:50 -0600

fifieldt gravatar image

I've seen docs but they all say to set up an L3 agent. In our case, our VM's are all set up in a flat network. How do I set up a metadata agent with no L3 agent?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-10 20:47:53 -0600

You'll need to install the following iptable rule on all your HV's that have instances connected to the flat network:

iptables -t nat -A PREROUTING -d -p tcp -m tcp --dport 80 -j DNAT --to-destination <nova-api>:8775

note: your nova-api host will need to be able to route packets to/from this network in order for it to work otherwise you'll need to run a nova-api-metadata instance on the flat network which will proxy the requests for you.

edit flag offensive delete link more


The nova-api host needs to route packets to/from which network, exactly?

briancline gravatar imagebriancline ( 2013-07-29 13:53:00 -0600 )edit

shouldnt that prerouting rule be automatically created?

Mathias Ewald gravatar imageMathias Ewald ( 2013-12-12 13:31:10 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-05-09 16:29:12 -0600

Seen: 1,711 times

Last updated: May 10 '13