Description of problem: In osp-16.1 python-tripleoclient, we see a bunch of unclosed resources such as: /usr/lib/python3.6/site-packages/tripleoclient/workflows/deployment.py:181: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 46460)> sock = socket.socket(socket.AF_INET6) /usr/lib/python3.6/site-packages/tripleoclient/workflows/deployment.py:175: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, laddr=('::', 0, 0, 0)> sock = socket.socket() This is due to python3 being more careful and strict with opened sockets and files. Since we don't see it in upstream master, it might be "just" a missing backport, or, in fact, due to the fact we dropped mistral for most of the deploy tasks... Version-Release number of selected component (if applicable): python3-tripleoclient-12.3.2-0.20200615103427.6f877f6.el8ost.noarch How reproducible: Always Steps to Reproduce: 1. deploy the undercloud 2. deploy the overcloud 3. check the warnings Actual results: We see unwanted warning about unclosed sockets Expected results: we shouldn't see it Additional info:
Need to figure out which client is not properly cleaning up after itself.
*** Bug 1875602 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.1 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:4284