Bug 1756855
| Summary: | [OSP15] "ResourceWarning: unclosed file" warnings observed while generating fencing.yaml file | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yadnesh Kulkarni <ykulkarn> |
| Component: | python-openstackclient | Assignee: | Michele Baldessari <michele> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15.0 (Stein) | CC: | apevec, jpichon, jschluet, lhh, lmiccini, michele |
| Target Milestone: | z2 | Keywords: | Triaged, ZStream |
| Target Release: | 15.0 (Stein) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-openstackclient-3.18.1-0.20191125111555.111d6a9.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-05 12:02:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
So the file warnings are fixed in the linked review. The SSL warnings look like they will be fixed via: https://bugs.launchpad.net/keystoneauth/+bug/1838704 I also confirm that via BZ https://bugzilla.redhat.com/show_bug.cgi?id=1733557 (and https://review.opendev.org/#/c/674139/) the SSL warnings are gone 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, 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/RHBA-2020:0710 |
Description of problem: The fencing.yaml is generated properly, just some resource warnings are observed while generating the fencing.yaml file. ~~~ (undercloud) [stack@undercloud ~]$ openstack overcloud generate fencing --ipmi-lanplus --ipmi-level administrator --output fencing.yaml instackenv.json /usr/lib/python3.6/site-packages/osc_lib/shell.py:176: ResourceWarning: unclosed file <_io.TextIOWrapper name='fencing.yaml' mode='w' encoding='UTF-8'> ret_value = super(OpenStackShell, self).run_subcommand(argv) /usr/lib/python3.6/site-packages/osc_lib/shell.py:176: ResourceWarning: unclosed file <_io.TextIOWrapper name='instackenv.json' mode='r' encoding='UTF-8'> ret_value = super(OpenStackShell, self).run_subcommand(argv) sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 45296), raddr=('192.168.24.2', 13000)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 54104), raddr=('192.168.24.2', 13989)> ~~~ Version-Release number of selected component (if applicable): python3-openstackclient-3.18.0-0.20190312140834.6868499.el8ost.noarch