Description of problem:
As summary
Version-Release number of selected component (if applicable):
Included in rhel8.3.1 container-tools:rhel8 module: container-tools-rhel8-8030120210204092849.c127ee91
python-podman-api-1.2.0-0.2.gitd0a45fe.module+el8.3.1+9803+64eb0fd6.noarch
How reproducible:
always
Steps to Reproduce:
1. systemctl enable --now io.podman.socket
2. download requirements.txt from https://github.com/containers/python-podman/blob/master/requirements.txt
3. pip3 install -r requirements.txt
4. # python3
Python 3.6.8 (default, Aug 18 2020, 08:33:21)
[GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import podman
>>> c = podman.Client()
Actual results:
>>> >>> c = podman.Client()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/podman/client.py", line 178, in __init__
if not System(self._client).ping():
File "/usr/lib/python3.6/site-packages/podman/libs/system.py", line 39, in ping
response = podman.GetVersion()
File "/usr/local/lib/python3.6/site-packages/varlink/client.py", line 89, in _wrapped
return self._call(method.name, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/varlink/client.py", line 146, in _call
(message, more) = self._next_varlink_message()
File "/usr/local/lib/python3.6/site-packages/varlink/client.py", line 107, in _next_varlink_message
message = next(self._next_message())
File "/usr/local/lib/python3.6/site-packages/varlink/client.py", line 268, in _next_message
raise BrokenPipeError("Disconnected")
BrokenPipeError: Disconnected
Expected results:
No errors encountered.
Additional info:
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 (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), 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/RHSA-2021:0531