-
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-remote-pull - service pulls even when client is killed #7558
Comments
For reference, I think Docker works like this as well - so it's not the worst thing if we do as well... |
Still, we need a big rework of the Pull endpoint anyways (it needs to stream progress back to the client). We can probably accommodate this as part of that. |
Is this really a bug? Or is this expected behaviour. If I pulled a huge image and the network went down, I would be happy that the image completed. |
Docker does not continue pulling.
The speed of our link at home is quite poor (a couple 100 meters far from fibre unfortunately). If I accidentally pull a huge image and CTRL^C the client I want it to stop pulling. If it continued, I had to kill the service. |
Labelling it as a feature for now. Remote pull is working and other items have a higher priority. To make it work, we first have to allow |
A friendly reminder that this issue had no activity for 30 days. |
@mtrmac PTAL |
Isn’t it cancellable already? At the very least
That might well not be good enough (maybe if we manage to kick off |
OTOH https://github.com/containers/image/blob/master/internal/uploadreader/upload_reader.go — that was ugly. It’s quite possible that the HTTP stack is similarly continuing to receive data (for a limited time, I hope) regardless of cancellation. (I haven’t checked in detail at this point.) |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg I take it that this has not been fixed and is still an issue? |
Yes. I don't think anybody found time to tackle it. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg Should we be raising the priority on this one now? |
It depends on the free cycles. My queue is long but I can certainly give guidance fixing it. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
Sadly another month has passed. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg Any chance you can look at this? |
I take a look. |
Thanks, @Luap99. I haven't tested it in a long while. It may have already been fixed in the meanwhile. |
If a client closes the http connection during image pull, the service should cancel the pull operation. [NO TESTS NEEDED] I have no idea how we could test this reliable. Fixes: containers#7558 Signed-off-by: Paul Holzinger <[email protected]>
If a client closes the http connection during image pull, the service should cancel the pull operation. [NO TESTS NEEDED] I have no idea how we could test this reliable. Fixes: containers#7558 Signed-off-by: Paul Holzinger <[email protected]>
/kind bug
Description
When killing a
podman-remote pull $IMAGE
the service continues pulling.Steps to reproduce the issue:
podman system service -t0
podman-remote pull alpine
+ CTRL+CDescribe the results you received:
Service pulls the image.
Describe the results you expected:
Service should cancel the pull/copy operation
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Podman v2.0.X and following.
The text was updated successfully, but these errors were encountered: