-
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
APIv2: Rootless call hangs after stopping and starting service #8762
Comments
damn, this is pretty much the same I reported in #6660 |
A friendly reminder that this issue had no activity for 30 days. |
@marusak Are you still seeing this when using the main branch? |
Is still happening with podman 2:3.0.0-0.136.dev.gita944f90.fc34 (what is in current rawhide) |
Interestingly, this is only happening on fedora and rhel, in ubuntu and debian it seems to be working just fine. |
Seems to be working on $ podman version |
This call should be very quick. It is the first all that cockpit-podman does. Unfortunately often the first call gets stuck, see: containers/podman#8762 containers/podman#9251 When the call is stuck, the whole page is stuck in `Loading...`. When we just reject it, the `Loading...` state moves on and we are presented with alert to 'Start' the service. Clicking the button does the trick. It is kind of hacky, but I think it is more user friendly then just being stuck on a page.
The first rootless call often gets stuck or fails. In such case we have alert banner to start the service (or just empty state). A real user would just hit the button so lets do the same as this is always getting back to us and we waste too much time reporting to podman with mixed results. Examples: containers/podman#8762 containers/podman#9251 containers/podman#6660
This call should be very quick. It is the first all that cockpit-podman does. Unfortunately often the first call gets stuck, see: containers/podman#8762 containers/podman#9251 When the call is stuck, the whole page is stuck in `Loading...`. When we just reject it, the `Loading...` state moves on and we are presented with alert to 'Start' the service. Clicking the button does the trick. It is kind of hacky, but I think it is more user friendly then just being stuck on a page.
The first rootless call often gets stuck or fails. In such case we have alert banner to start the service (or just empty state). A real user would just hit the button so lets do the same as this is always getting back to us and we waste too much time reporting to podman with mixed results. Examples: containers/podman#8762 containers/podman#9251 containers/podman#6660
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
In version
2.2.1
doingsystemctl stop podman
and then trying to query anything through API keeps it hanging indefinitely.Steps to reproduce the issue:
(all done as normal user, this does not happen with system API)
systemctl --user enable --now podman.socket
systemctl --user stop podman.service podman.socket
systemctl --user enable --now podman.socket
curl --unix-socket /run/user/1000/podman/podman.sock http://d/v1.24/libpod/info
The last step never retrurn anything, it just hangs indefinitely. If I ^C it and try again, all works fine.
While it hangs I can query states and all seems fine:
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
The text was updated successfully, but these errors were encountered: