Fix socket growth on system application operations

There is an issue whereby docker exec_run commands do not close the TCP socket.
Thus on each kube application operation, such as application-apply, the docker
exec_run consumes 4 TCP sockets per iteration.  Thus, when it hits limit
of 1024 sockets, system can no longer perform application operations.

This updates the python-docker package. The source code was already in the
cengn mirror; and this update adds a patch to finally close socket in
docker client.

Tests performed:
Install AIO, Storage labs.
system application-upload stx-openstack, apply, remove
system application apply stress test of over 300 iterations
and verify no growth in sockets held by sysinv-conductor.

Change-Id: I8a8efbb372581c7ce13a0cf813f63c13d5186973
Closes-Bug: 1838088
Signed-off-by: John Kung <john.kung@windriver.com>
This commit is contained in:
John Kung 2019-08-09 09:46:13 -04:00
parent 01b64fd654
commit b9ee1ac1c0
1 changed files with 1 additions and 1 deletions

View File

@ -1175,7 +1175,6 @@ python2-django-babel-0.4.0-2.el7.noarch.rpm
python2-django-compressor-2.1-5.el7.noarch.rpm
python2-django-debreach-1.5.2-1.el7.noarch.rpm
python2-django-formtools-2.1-1.el7.noarch.rpm
python2-docker-3.3.0-1.el7.noarch.rpm
python2-dulwich-0.18.4-1.el7.x86_64.rpm
python2-extras-1.0.0-2.el7.noarch.rpm
python2-fasteners-0.14.1-6.el7.noarch.rpm
@ -1405,6 +1404,7 @@ python-django-compressor-2.0-1.el7.noarch.rpm
python-django-nose-1.4.3-1.el7.noarch.rpm
python-django-pyscss-2.0.2-1.el7.noarch.rpm
python-dns-1.12.0-4.20150617git465785f.el7.noarch.rpm
python-docker-3.3.0-1.el7.src.rpm
python-docker-pycreds-0.3.0-7.el7.noarch.rpm
python-docutils-0.11-0.3.20130715svn7687.el7.noarch.rpm
python-dogpile-cache-0.6.2-1.el7.noarch.rpm