-
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
local repository is locked during podman push
#8167
Comments
This is a well known bug that @saschagrunert and @vrothberg have been working to fix. |
If I may complain a little more about large image handling, I notice that podman is quite slow when compressing large images. It would be nice to compress in parallel, and use a native library. |
PRs would be appreciated. :^) |
Only an endless stream of complaints, unfortunately |
Thanks for the feedback. We have that on our radar as well. Unfortunately, time is scarce. Layers are pulled and (de)compressed in parallel already but they are first stored in a tmp dir and are then committed to the storage in sequence. The sequential committing may be what's slowing your large image down. |
I have one giant layer, and a few tiny layers, so inter-layer parallelism does not help. |
Is Docker noticeable faster? I am asking since even single layers are (de)compressed in parallel. I don't think that's a bottleneck but I want to follow your suspicion and make sure. |
I can no longer run docker since I'm on Fedora 33 with v2 cgroups. I notice that podman rarely takes more than 140% cpu, so even if there is some parallelism, it's not nearly enough to exploit even a desktop. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg did you ever finish your diagnosis? |
Unfortunately not. Without having a baseline, it's hard to judge what's fast and what's slow. @avikivity could you share the image? Is it accessible on Docker Hub or Quay or some other public registry? |
https://hub.docker.com/repository/docker/scylladb/scylla-toolchain tag fedora-33-20201214 |
Thanks! I can reproduce. Took me a while to put the pieces back together, but this is blocked on containers/storage#473. Not only run is blocked, but also listing images and other commands accessing the image store. @rhatdan @nalind @saschagrunert, I think we need to set us a time line to get the work in containers/storage#473 done. |
Yes, there was some review done recently and I can pick up the work next week. 👍 |
I would love to get that one in, as well as @giuseppe patches. Now that 3.0 is out, we should be able to get this merged. |
I am consolidating issues. This is effectively a duplicate of #5356 so I am closing this one here. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
During a
podman push
operation, other operations (likepodman run
) are blocked.Steps to reproduce the issue:
podman push
some huge imagewhile this is chugging away, run
podman run
, even on the same imagewait for the push to complete
Describe the results you received:
push and run operations are serialized
Describe the results you expected:
podman run
can proceed while the push is pushingAdditional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:(truncated - in fact even that waits for the push)
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?
No
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical, with a non-stellar connection (100 Mb/s upload).
The text was updated successfully, but these errors were encountered: