← Back to team overview

openstack team mailing list archive

PREROUTING 169.254.169.254 rule shoud not on Compute node.......

 

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....

Follow ups