Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
Metadata forwarding must be handled by the gateway, and since nova does
not do any setup in this mode, it must be done manually.  Requests to port 80 will need to be forwarded to the api server.

There is following method in nova/network/, but it's only called while using Flat DHCP Manager or VLAN Manager.

def metadata_forward(): """Create forwarding rule for metadata""" _confirm_rule("PREROUTING", "-t nat -s " "-d -p tcp -m tcp --dport 80 -j DNAT " "--to-destination %s:%s" % (FLAGS.ec2_dmz_host, FLAGS.ec2_port))