neutron/neutron/tests/unit/common
Swaminathan Vasudevan d772b735fb Packets getting lost during SNAT with too many connections
We have a problem with SNAT with too many connections using the
same source and destination on the network nodes.

In addition we can see in the conntrack table that the who
"instert_failed" increases.

This might be a generic problem with conntrack and linux.
We suspect that we encounter the following "limitation / bug"
in the kernel.

There seems to be a workaround to alleviate this behavior by
setting the -random-fully flag in iptables for port consumption.

This patch fixes the problem by adding the --random-fully to
the SNAT rules.

Conflicts:
    neutron/agent/linux/iptables_manager.py
    neutron/common/constants.py
    neutron/tests/unit/agent/l3/test_agent.py

Change-Id: I246c1f56df889bad9c7e140b56c3614124d80a19
Closes-Bug: #1814002
(cherry picked from commit 30f35e08f9)
2019-06-06 15:34:01 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
moved_globals_code1.py debtcollector for globals 2016-08-30 10:18:19 -04:00
moved_globals_code2.py debtcollector for globals 2016-08-30 10:18:19 -04:00
moved_globals_target.py debtcollector for globals 2016-08-30 10:18:19 -04:00
test__deprecate.py debtcollector for globals 2016-08-30 10:18:19 -04:00
test_cache_utils.py cache_utils: fixed cache misses for the new (oslo.cache) configuration 2016-06-16 23:07:40 +02:00
test_ipv6_utils.py Allow Ipv6 addresses for nova_metadata_host 2018-10-25 14:34:07 +00:00
test_rpc.py Catch exceptions for all rpc casts 2017-07-27 09:03:00 -07:00
test_utils.py Packets getting lost during SNAT with too many connections 2019-06-06 15:34:01 +00:00