[Openstack] Networking issue with VlanManager and Floating IPs

Edgar Magana (eperdomo) eperdomo at cisco.com
Fri Jul 20 15:55:07 UTC 2012


Thanks for the pointers Xu, we will give it a try in our testbed and let you know.

Thanks,

Edgar

From: xchenum at gmail.com [mailto:xchenum at gmail.com] On Behalf Of Xu (Simon) Chen
Sent: Friday, July 20, 2012 8:10 AM
To: Wael Ghandour (wghandou)
Cc: Edgar Magana (eperdomo); openstack at lists.launchpad.net
Subject: Re: [Openstack] Networking issue with VlanManager and Floating IPs

Yes, one solution is to modify the iptables driver, so that you don't SNAT for internal subnets...

So, at the beginning of the nova-network-floating-snat rules, you add something like this:
-A nova-network-floating-snat -s 10.0.0.0/24<http://10.0.0.0/24> -d 10.0.0.0/24<http://10.0.0.0/24> -j ACCEPT
...
-A nova-network-floating-snat -s 10.0.88.16/32<http://10.0.88.16/32> -j SNAT --to-source pub1
-A nova-network-floating-snat -s 10.0.16.7/32<http://10.0.16.7/32> -j SNAT --to-source pub2
-A nova-network-floating-snat -s 10.0.4.11/32<http://10.0.4.11/32> -j SNAT --to-source pub3

Then it should solve the unnecessary NATting issue...

On Fri, Jul 20, 2012 at 10:13 AM, Wael Ghandour (wghandou) <wghandou at cisco.com<mailto:wghandou at cisco.com>> wrote:

I can confirm that the VM traffic is undergoing NAT with using its floating IP on the private interface of the nova-compute node when it tries to reach the private address of the VMs belonging to the same tenant and on other compute nodes. That obviously is breaking internal connectivity....

Regards,

Wael



On Jul 20, 2012, at 5:42 AM, Xu (Simon) Chen wrote:


There was an issue that we saw in an earlier nova-network...

Due to multi_host configuration, the nova-network runs on every nova-compute node. Therefore the floating IP assignment happens on the compute nodes directly. So between two VMs within the same tenant on different hosts, private->public SNAT happens unnecessarily.

Not sure if this is fixed in Essex...
On Fri, Jul 20, 2012 at 3:49 AM, Edgar Magana (eperdomo) <eperdomo at cisco.com<mailto:eperdomo at cisco.com>> wrote:
Folks,

We are using Essex for our multi-host OpenStack deployment with Vlan Manager.
All the private IPs are working as expected in a multi-tenant scenario but the problem that we are seen is with Floating IPs.

We have three tenants,  all of them are able to use  Floating IPs and then VMs are reachable from the public network but the inter VMs connectivity by private IPs is totally lost. Once we dissociate the Floating IPs to the corresponding VMs, the connectivity is back. The odd part is that we are seeing this behavior in just two of the three tenants that we have tested so far.

Is anyone aware of any bug or misconfiguration in Nova-network that could explain this behavior? We will be running more tests and we can provide detailed information of our environment if needed.

Thanks for your help,

Edgar

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120720/2e552ace/attachment.html>


More information about the Openstack mailing list