-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containers created with --restart=always
do not restart when started through a pod
#19671
Comments
Fixes: containers#19671 Signed-off-by: Daniel J Walsh <[email protected]>
@rhatdan thanks for putting up the patch. Are you able to put out a rush release? I see that there was discussion about this in #17627 where reviewers didn't want to break this exact situation, but unfortunately the line in question would actually have prevented the current situation where all such workloads on 4.6 are at very high risk of unexpected downtime. |
@mheon WDYT? |
We are planning a 4.6.2 soon, aiming to finalize plans for when on Monday. |
Fixes: containers#19671 Signed-off-by: Daniel J Walsh <[email protected]>
Fixes: containers#19671 Signed-off-by: Daniel J Walsh <[email protected]>
Issue Description
containers created with
--restart=always
do not restart when they exit, when started through the parent podSteps to reproduce the issue
Steps to reproduce the issue
podman ps -a
Describe the results you received
See that the container
Exited (127) N seconds ago
and is not restartingDescribe the results you expected
I think
--restart=always
should always restart the container if it exits regardless of how it's startedpodman info output
4.6.0
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: