[Openstack] Problems accessing metadata service due to nova-network generated iptables rules

Vishvananda Ishaya vishvananda at gmail.com
Wed Jun 20 22:29:12 UTC 2012


Generally the suggestion is to not set metadata_host to 127.0.0.1, but to set it to the actual IP of the compute host.  Your code change seems reasonable however and I don't see any problem merging it if you propose it thorugh gerrit.

Vish

On Jun 20, 2012, at 2:44 PM, Lars Kellogg-Stedman wrote:

>>> Is the DNAT rule expected to work?  Does linux_net.py need a special
>>> case for when the metadata address is on the local host?
> 
> I have confirmed that the DNAT rule works *unless* metadata_host is
> 127.0.0.1, in which case you need a REDIRECT rule.
> 
> -- 
> Lars Kellogg-Stedman <lars at seas.harvard.edu>       |
> Senior Technologist                                | http://ac.seas.harvard.edu/
> Academic Computing                                 | http://code.seas.harvard.edu/
> Harvard School of Engineering and Applied Sciences |
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list