Bug 2097708
| Summary: | [RFE]Podman support to perform custom actions on unhealthy containers | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Ashish Reddy <asreddy> | |
| Component: | podman | Assignee: | Jindrich Novy <jnovy> | |
| Status: | CLOSED ERRATA | QA Contact: | Alex Jia <ajia> | |
| Severity: | medium | Docs Contact: | Gabriela Nečasová <gnecasov> | |
| Priority: | unspecified | |||
| Version: | 8.6 | CC: | bbaude, dornelas, dwalsh, dwojewod, gnecasov, jligon, jnovy, jwboyer, lsm5, mheon, pthomas, toneata, tsweeney, umohnani, vrothber, wwurzbac, ypu | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | podman-4.2.1-3.el8 | Doc Type: | Enhancement | |
| Doc Text: |
.Podman now supports the `--health-on-failure` option
The `podman run` and `podman create` commands now support the `--health-on-failure` option to determine the actions to be performed when the status of a container becomes unhealthy.
The `--health-on-failure` option supports four actions:
* `none`: Take no action, this is the default action.
* `kill`: Kill the container.
* `restart`: Restart the container.
* `stop`: Stop the container.
NOTE: Do not combine the `restart` action with the `--restart` option. When running inside of a systemd unit, consider using the `kill` or `stop` action instead to make use of systemd's restart policy.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2130333 2130911 2130912 2131741 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 08:18:40 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: | ||||
| Bug Blocks: | 2130911, 2130912, 2131741, 2136281 | |||
|
Comment 14
Derrick Ornelas
2022-09-28 14:50:57 UTC
*** Bug 2130333 has been marked as a duplicate of this bug. *** *** Bug 2130340 has been marked as a duplicate of this bug. *** This bug has been veirfied on podman-4.2.1-3.module+el8.8.0+16760+2f749ab7, please see Comment 22. 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-2023:2758 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-2023:2758 |