-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Occasionally failing to start container over varlink with systemd #4076
Comments
This is worse than 1/10 times - in my recent testing it's over half the time. Often it will work fine for a bit and then fail over and over again for 5-6 times before working again. It is pretty readily reproducible. |
Hi @johanbrandhorst, thanks for opening the issue. I can confirm that varlink is having issue when being started via systemd. Similar (maybe identical?) to #4005. |
Thanks for the information @vrothberg, unfortunately I'm only interested in running podman varlink in user mode, so that's very disappointing. Is there a way to enable the socket for rootless accounts that doesn't go via systemd? |
@johanbrandhorst, you could run a varlink endpoint outside of the systemd context via $ podman varlink unix:/home/$(whoami)/podman.socket -t0
$ PODMAN_VARLINK_ADDRESS=unix:/home/$(whoami)/podman.socket podman-remote info
client:
... |
Let me see if that removes the errors, thanks! |
Error does seem to be related to systemd, I've been running with a local socket for a while and not seen the errors. |
Thanks a lot for reporting, @johanbrandhorst! We're looking into the issue. I will close this one as duplicate of #4005. Feel free to join the discussion there. |
Description
I've been playing around with the varlink interface to automate spinning up containers for testing. Occasionally I run into an issue where the
StartContainer
call will fail with the following error:Sometimes another, somewhat similar error happens:
This happens about 1 in 10 times.
Steps to reproduce the issue:
StartContainer
command:Describe the results you received:
I received an unexpected error:
Sometimes another, somewhat similar error happens:
Describe the results you expected:
I expected the container to start every time.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
varlink info
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
Running on laptop in systemd user mode.
$ systemctl --user enable io.podman.socket $ systemctl --user start io.podman.socket
The text was updated successfully, but these errors were encountered: