Bug 2136281
Summary: | [RFE]Podman support to perform custom actions on unhealthy containers [rhel-9.1.0.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Tom Sweeney <tsweeney> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Alex Jia <ajia> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.2 | CC: | ajia, bbaude, dornelas, dwalsh, dwojewod, jligon, jnovy, jwboyer, lsm5, mboddu, mheon, pgm-rhel-tools, pthomas, snanda, toneata, tsweeney, umohnani, vrothber, wwurzbac, ypu |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | podman-4.2.0-5.el9_1_0 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | 2130911 | Environment: | |
Last Closed: | 2022-11-15 15:59:17 UTC | Type: | Enhancement |
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: | 2097708, 2130911, 2131741 | ||
Bug Blocks: |
Comment 1
Tom Sweeney
2022-10-19 19:44:32 UTC
This bug has been verified on podman-4.2.0-5.el9_1. [root@test-9-1-0 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 9.1 (Plow) [root@test-9-1-0 ~]# rpm -q podman crun runc systemd kernel podman-4.2.0-5.el9_1.x86_64 crun-1.5-1.el9.x86_64 runc-1.1.4-1.el9.x86_64 systemd-250-12.el9_1.x86_64 kernel-5.14.0-162.6.1.el9_1.x86_64 [root@test-9-1-0 podman]# git checkout v4.2.0-rhel Branch 'v4.2.0-rhel' set up to track remote branch 'v4.2.0-rhel' from 'origin'. Switched to a new branch 'v4.2.0-rhel' [root@test-9-1-0 podman]# git rev-parse HEAD d520a5ccabfb21d1069c3567ffd94a6732787fa5 [root@test-9-1-0 podman]# bats -t -f "podman create --health-on-failure=kill" test/system/250-systemd.bats 1..1 # setup(): removing stray image registry.access.redhat.com/ubi8-minimal:latest # setup(): removing stray image 3978228fedca ok 1 podman create --health-on-failure=kill [root@test-9-1-0 podman]# bats -t test/system/220-healthcheck.bats 1..2 ok 1 podman healthcheck ok 2 podman healthcheck --health-on-failure 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 (Low: podman 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-2022:8431 |