Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1847471

Summary: sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr
Product: Red Hat OpenStack Reporter: Bob Fournier <bfournie>
Component: python-tripleoclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: akekane, apetrich, apevec, aschultz, beth.white, bjacot, cschwede, cyril, derekh, djuran, dvd, ebeaudoi, ekuvaja, fiezzi, gfidente, hbrock, jbuchta, jpichon, jslagle, jvisser, lhh, lmarsh, mabrams, mburns, michele, mircea.vutcovici, pezhang, pgrist, ramishra, sandyada, smalleni, spower, ssmolyak, vcojot, worawut.ch, zaitcev
Target Milestone: z2Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1733557 Environment:
Last Closed: 2020-09-14 19:26:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1733557    
Bug Blocks: 1802636, 1802637    

Comment 2 Bob Fournier 2020-06-16 12:58:15 UTC
Note - one thing that is different that the previous bug is that I'm using an IPv6 control plane, so the addresses in the warning messages are IPv6 addresses, e.g.:
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=6, laddr=('fe32:dead:beef::2', 42348, 0, 0), raddr=('fe32:dead:beef::2', 13000, 0, 0)>

Comment 5 Sai Sindhur Malleni 2020-07-09 01:14:33 UTC
Seeing this on an environemnt that is using IPv4 control plane as well. Seeing this during various commands such as 

openstack overcloud node introspect
openstack overcloud admin authorize

sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.2', 48112)>
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.2', 38824)>

Comment 6 Federico Iezzi 2020-07-09 06:43:19 UTC
The same happens in an IPv4 env also using yum/dnf commands

Comment 7 Pete Zaitcev 2020-07-17 04:12:23 UTC
(In reply to Sai Sindhur Malleni from comment #5)

> openstack overcloud admin authorize
> 
> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4,
> family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6,
> laddr=('192.168.0.2', 48112)>

How do you know that it's the swiftclient module?

Comment 11 Sai Sindhur Malleni 2020-07-27 13:52:31 UTC
(In reply to Pete Zaitcev from comment #7)
> (In reply to Sai Sindhur Malleni from comment #5)
> 
> > openstack overcloud admin authorize
> > 
> > sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4,
> > family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6,
> > laddr=('192.168.0.2', 48112)>
> 
> How do you know that it's the swiftclient module?
I don't necessarily think it's the swiftclient. I just thought this was a generic catch all bug for errors like these when using the openstack cli.

Comment 15 Alex Schultz 2020-09-14 19:26:26 UTC
Closing out since the fix has landed upstream and will eventually make it's way into the product. These warning messages do not affect functionality.