RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2136281 - [RFE]Podman support to perform custom actions on unhealthy containers [rhel-9.1.0.z]
Summary: [RFE]Podman support to perform custom actions on unhealthy containers [rhel-9...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: podman
Version: 9.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
URL:
Whiteboard:
Depends On: 2097708 2130911 2131741
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-19 19:35 UTC by Tom Sweeney
Modified: 2022-12-06 14:30 UTC (History)
20 users (show)

Fixed In Version: podman-4.2.0-5.el9_1_0
Doc Type: Enhancement
Doc Text:
Clone Of: 2130911
Environment:
Last Closed: 2022-11-15 15:59:17 UTC
Type: Enhancement
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-137093 0 None None None 2022-10-19 19:40:40 UTC
Red Hat Product Errata RHSA-2022:8431 0 None None None 2022-11-15 15:59:29 UTC

Comment 1 Tom Sweeney 2022-10-19 19:44:32 UTC
Setting to Post and assigning to @jnovy .  The fix from the cloned BZ in RHEL 8.7.0.ZeroDay will apply here too.

@ypu and Jindrich, can I get a QA and Dev ack please?

Comment 4 Alex Jia 2022-10-21 12:50:33 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

Comment 8 errata-xmlrpc 2022-11-15 15:59:17 UTC
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


Note You need to log in before you can comment on or make changes to this bug.