-
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
Podman containers running in "Created" status #11478
Comments
Did you checked if there is still content in |
Hi @Luap99
A little more info: I run these pods with systemd:
Although the problem does not occur when the user logs out I also tried |
Anyway we do not recommend using play kube with systemd unit. Systemd cannot track the container processes in this case. So your unit can behave weird. @vrothberg Have you looked at play kube with systemd? |
That's currently not supported. There are many things that can go wrong when using Podman in systemd, so the only officially supported way is using the unit generated via A wild guess: try changing away from Also using |
Podman should not use `/tmp/run-...`. The Podman PR#8241 changed the path to `/tmp/podman-run-...` and added systemd tmpfile config to make sure the path is not removed. However the tmpDir is set in c/common and was never changed. Fixes containers/podman#11478 Signed-off-by: Paul Holzinger <[email protected]>
I created containers/common#759 Podman should not use |
Thanks a lot for this insight. |
Podman should not use `/tmp/run-...`. The Podman PR#8241 changed the path to `/tmp/podman-run-...` and added systemd tmpfile config to make sure the path is not removed. However the tmpDir is set in c/common and was never changed. Fixes containers/podman#11478 Signed-off-by: Paul Holzinger <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I think it is related to #9663 but when I follow the suggested solution it doesn't solve the problem for me.
Steps to reproduce the issue:
podman play
a kubernetes-style yaml file with one or more containers in rootless modeWait a couple of days
podman container ls --all
shows the container(s) as "Created" and I cannot usepodman exec
orpodman logs --follow
Describe the results you received:
The pod and its containers are "Created"
Describe the results you expected:
The pod and containers should stay in
Up
status.Additional information you deem important (e.g. issue happens only occasionally):
The problem doesn't happen when I restart the pod or play the kubernetes file. It occurs later, seemingly by itself.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
tmpfile:
The text was updated successfully, but these errors were encountered: