From b9ee1ac1c068583d74c22047772fb5cff4713f7d Mon Sep 17 00:00:00 2001 From: John Kung Date: Fri, 9 Aug 2019 09:46:13 -0400 Subject: [PATCH] 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 --- centos-mirror-tools/rpms_centos.lst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centos-mirror-tools/rpms_centos.lst b/centos-mirror-tools/rpms_centos.lst index e292cfab..56cd618d 100644 --- a/centos-mirror-tools/rpms_centos.lst +++ b/centos-mirror-tools/rpms_centos.lst @@ -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