@ddarrah can I get a qa ack please?
PR: https://github.com/containers/podman-py/pull/211 from Charlie Doern
@ddarrah can I get a QA ack here please?
Strangely enough I don't see https://github.com/containers/podman-py/pull/211 merged into https://github.com/containers/podman-py/tree/v4.0.0-rhel even though github on the PR is saying so. The last commit in v4.0.0-rhel branch is from Brent - 28th Feb. Charlie, can you please check?
The 4.0.0-rhel branch has a 4.0.1 tag. I M trying to keep with the podman-py convention of tagging a release rather than having it be the last commit of a branch.
I have updated the branching and tags properly, the release is now representative of the 4.0.0-rhel branch. @jnovy please let me know what else you need
Setting to Post and assigning to @jnovy for any further packaging and BZ needs. The release is ready for Jindrich at: https://github.com/containers/podman-py/releases/tag/v4.0.1
This bug has been verified on python3-podman-4.0.1-1.module+el8.6.0+16837+85b82211. [root@ibm-x3250m6-06 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 (Ootpa) [root@ibm-x3250m6-06 ~]# rpm -q python3-podman podman runc systemd kernel python3-podman-4.0.1-1.module+el8.6.0+16837+85b82211.noarch podman-4.1.1-7.module+el8.6.0+16889+9f154fa9.x86_64 runc-1.1.3-2.module+el8.6.0+16771+28dfca77.x86_64 systemd-239-58.el8_6.8.x86_64 kernel-4.18.0-372.32.1.el8_6.x86_64 [test@ibm-x3250m6-06 ~]$ podman system service -t 0 & [1] 71801 [test@ibm-x3250m6-06 ~]$ netstat -lanp|grep podman.sock (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) unix 2 [ ACC ] STREAM LISTENING 233550 71813/podman /run/user/1000/podman/podman.sock unix 2 [ ACC ] STREAM LISTENING 221788 - /run/podman/podman.sock [test@ibm-x3250m6-06 ~]$ cat tester.py """Demonstrate PodmanClient.""" import json from podman import PodmanClient alpine_image = "quay.io/libpod/alpine:latest" uri = "unix:///run/user/1000/podman/podman.sock" def test_container_healtchecks(): """Test passing various healthcheck options""" with PodmanClient(base_url=uri) as client: containers = [] parameters = {} version = client.version() print("Release: ", version["Version"]) print("Compatible API: ", version["ApiVersion"]) print("Podman API: ", version["Components"][0]["Details"]["APIVersion"], "\n") parameters['healthcheck'] = {'Test': ['CMD-SHELL curl http://localhost || exit']} parameters['health_check_on_failure_action'] = 1 container = client.containers.create(alpine_image, **parameters) print("current container:%s" % container) containers.append(container) if __name__ == "__main__": test_container_healtchecks() [test@ibm-x3250m6-06 ~]$ python3 tester.py Release: 4.1.1 Compatible API: 1.40 Podman API: 4.1.1 current container:<Container: 766bb3d2d3> [test@ibm-x3250m6-06 ~]$ podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 766bb3d2d3d1 quay.io/libpod/alpine:latest /bin/sh 3 seconds ago Created sleepy_pare
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 (container-tools:rhel8 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/RHBA-2022:7127