[Openstack] PREROUTING 169.254.169.254 rule shoud not on Compute node.......

郭耀謙 tonytkdk at gmail.com
Wed May 11 02:08:10 UTC 2011


Hello , guys

There's a problem while separate instance's network and nova-management
network.

EX.
Nova management network : 192.168.1.0/24  eth0
Instance network               :  10.0.0.0/12      eth1 bridge to br100

During cloud-setup :
Instance try to retrieve metadata from 169.254.169.254.

Instances(10.0.0.0/12) request 169.254.169.254 PREROUTING from
gateway(nova-network).

But If PREROUTING rule is already been set on nova-Compute node, instance
request will be redirected on VM host instead of nova-network host.

So If your topology is like A diadram from
StackOps<http://docs.stackops.org/download/attachments/885051/OpenStack_Multinode_Architecture_3d.png?version=1&modificationDate=1300350521000>
,
Plz Check iptables rule on *Compute nodes*.

-A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT
--to-destination 192.168.1.2:8773

And del this rule , your instance will get metadata correctly....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110511/0cdb6830/attachment.html>


More information about the Openstack mailing list