3f4a439109
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: I21b9e486af1e3bb3b82fd79c3e3662c97b53b732 Closes-Bug: 1838088 Depends-On: https://review.opendev.org/#/c/675686/ Signed-off-by: John Kung <john.kung@windriver.com>
26 lines
756 B
Diff
26 lines
756 B
Diff
From 9bc57c6963fcea63a7793633339e5692ec3e2252 Mon Sep 17 00:00:00 2001
|
|
From: John Kung <john.kung@windriver.com>
|
|
Date: Wed, 7 Aug 2019 13:35:22 -0400
|
|
Subject: [PATCH 1/1] Add package versioning patch
|
|
|
|
---
|
|
SPECS/python-docker.spec | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/SPECS/python-docker.spec b/SPECS/python-docker.spec
|
|
index 5ebf252..92420e3 100644
|
|
--- a/SPECS/python-docker.spec
|
|
+++ b/SPECS/python-docker.spec
|
|
@@ -18,7 +18,7 @@
|
|
|
|
Name: python-%{srcname}
|
|
Version: 3.3.0
|
|
-Release: 1%{?dist}
|
|
+Release: 1.el7%{?_tis_dist}.%{tis_patch_ver}
|
|
Summary: A Python library for the Docker Engine API
|
|
License: ASL 2.0
|
|
URL: https://pypi.python.org/pypi/%{srcname}
|
|
--
|
|
1.8.3.1
|
|
|