-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rootless API closes /events endpoint after minute and half #8751
Comments
Something is sending Podman SIGTERM. Maybe systemd? |
This strongly suggests that Systemd is of the opinion that |
Might be, it is the whole time in
The system unit does not time out after this short time and it is indeed
|
Worth mentioning this is nothing new, I was saying this is happening a while ago, see in #5599 |
Type=notify |
These services should be changed to type=simple, I believe. They do not send the notify reply to systemd, which must kill them after 1.5 minutes. |
Podman never notifies sytemd that it is ready to recieve connections so systemd kills it after waiting 1.5 minutes. Changing to exec should leave it running until podman exits or the service is stopped. containers#8751 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
close,could reopen if happened again |
@zhangguanzhang: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This bug is still in Fedora 33, upstream we have an ugly hack for it, and downstream it still breaks tests. Any chance that this could be fixed in Fedora 33? Thanks! |
it should come out with podman v3 which is in rc3 right now |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When I try to listen on
/events
endpoint as non-root user it closes after minute and half. This started to happen since podman-2.2.1 release in Fedora 32/33.Steps to reproduce the issue:
$ systemctl --user start podman.socket
Describe the results you received:
The API closes.
Describe the results you expected:
The API will continue to listen.
Additional information you deem important (e.g. issue happens only occasionally):
A bit more logs:
Interestingly, when I boot VM, first time events time out after ~1.5 minute, when I try it again it never times out, any other subsequent call times out in ~1.5minute.
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?
Yes (latest being what is in fedora repos, haven't tested current upstream HEAD)
The text was updated successfully, but these errors were encountered: