integ/base
Sun Austin 171c43dca8 Fix Periodic message loss between VIM and Openstack REST APIs
set net.ipv4.tcp_tw_recycle=1 to avoid dnat conntrack invalid

The probe connection action before going to time_wait state.
Probe connection
controller               pod        TCP FLAG      SEQ           ACK
controller:50538 ---> endpoint:9292     SYN       2707980036       0
controller:50538 <--- endpoint:9292   SYN ACK     1599414185
2707980037
controller:50538 ---> endpoint:9292     ACK       2707980037
1599414186
controller:50538 ---> endpoint:9292   FIN ACK     2707980037
1599414186
controller:50538 <--- endpoint:9292     ACK       1599414186
2707980038
controller:50538 <--- endpoint:9292   FIN ACK     1599414186
2707980038
controller:50538 ---> endpoint:9292     ACK       2707980038
1599414187

And for the curl command connection with same port 50538: it will be
like
controller              pod          TCP FLAG         SEQ          ACK
controller:50538 -->  service:9292     SYN        2917708674        0
controller:50538 --> endpoint:9292     SYN        2917708674        0
controller:24479 <-- endpoint:9292   SYN ACK      2742336307
2917708675
controller:50538 <-- endpoint:9292   SYN ACK      2742336307
2917708675
controller:50538 -->  service:9292     ACK        2707980038
1599414187
controller:50538 -->  service:9292     ACK        2707980038
1599414187
controller:50538 -->  service:9292     ACK(DROP)  2707980038
1599414187

The last ACK(controller:50538-->service:9292) SEQ and ACK is same as
Probe TIME_WAIT latest ACK’s.
from
https://github.com/torvalds/linux/blob/v3.10/net/ipv4/tcp_ipv4.c#L2002 ,
it only check (des ip , des port, src ip, and src port).Because this is
not
 a correct SEQ/ACK , then it is set invalid and then dropped.

If enabling tcp_tw_recycle, the previous socket should be already
closed, then the issue should be gone.

Closes-Bug: 1817936

Change-Id: If6e66d85f08fc99022946fd2e9f4e5756bfb7b2f
Signed-off-by: Sun Austin <austin.sun@intel.com>
2019-08-26 08:06:29 +08:00
..
anaconda/centos rebase anaconda patch to CentOS 7.6 version 2019-01-07 11:04:18 +08:00
bash rebase bash patch to CentOS 7.6 version 2018-12-18 20:30:25 +08:00
centos-release-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
cgcs-users Fix malformed patch on cgcs-users/ibsh 2018-08-01 15:31:54 -04:00
cluster-resource-agents Remove Resource Monitor ; aka rmon, from the load 2019-03-18 12:27:59 -04:00
dhcp Refactor source code patches for dhcp package 2018-12-19 01:24:07 +00:00
dhcp-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
dnsmasq rebase dnsmasq patch to CentOS 7.6 version 2018-12-25 10:17:47 +08:00
dnsmasq-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
dpkg Relocate dpkg to stx-integ/base/dpkg 2018-08-01 15:31:54 -04:00
golang/centos Add files for building golang 1.12.9 2019-08-19 08:06:58 -05:00
golang-dep/centos Add go "dep" tool to support lockfiles in go pkgs 2018-12-18 09:26:20 -05:00
haproxy rebase haproxy patch to CentOS 7.6 version 2019-01-02 14:29:58 +08:00
haproxy-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
initscripts/centos Merge remote-tracking branch 'gerrit/master' into f/centos76 2019-01-11 08:58:59 -08:00
initscripts-config Fix Periodic message loss between VIM and Openstack REST APIs 2019-08-26 08:06:29 +08:00
libevent remove libevent meta patch which disable test folder building 2018-11-29 09:52:41 +08:00
libfdt Relocate libfdt to stx-integ/base/libfdt 2018-08-01 15:31:54 -04:00
lighttpd rebase lighttpd patch to CentOS 7.6 version 2018-12-28 14:56:49 +08:00
lighttpd-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
net-snmp rebase net-snmp patch to CentOS 7.6 version 2018-12-28 10:55:28 +08:00
net-snmp-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
openssh Refactor harden server and client config patch for openssh package 2018-12-10 23:10:54 +08:00
openssh-config Fix user does not login within configured time(60s) login is aborted 2019-08-16 09:35:36 +00:00
rpm fix rpm broken library link that caused runtime error 2018-08-01 15:31:54 -04:00
setup Remove login shell and unneeded openstack users 2019-07-30 12:07:12 -04:00
setup-config Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
sudo/centos rebase sudo patch to CentOS 7.6 version 2019-01-02 19:31:45 +08:00
systemd/centos de-fuzz fuzzy patch in systemd 2019-06-02 10:15:51 +08:00
systemd-config integ: Convert wrsroot -> sysadmin 2019-06-14 15:09:09 -07:00
watchdog upgrade watchdog to CentOS 7.6 version 2019-01-11 03:15:28 +00:00