DNAT rule for accessing metadata server does not work if metadata_host is 127.0.0.1
Bug #1015853 reported by
Lars Kellogg-Stedman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Jiajun Liu |
Bug Description
If metadata_host is 127.0.0.1, linux_net.py creates the following iptables rule:
-A nova-network-
This does not work as intended because the Linux kernel will reject packets to a 127.0.0.0/8 address that do not come from an address in that range. The correct solution in this case is to create a REDIRECT rule instead:
-A nova-network-
Changed in nova: | |
assignee: | nobody → ljjjustin (ljjjustin) |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/10210
Review: https:/