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>