-
Notifications
You must be signed in to change notification settings - Fork 788
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
buildah push triggers "layer not known" corruption for concurrent buildah commit #966
Comments
Add patch for "layer not known" corruption issue 966. See: containers/buildah#966 Package-Manager: Portage-2.3.48, Repoman-2.3.10
Reopening for @EmilienM |
Still hitting that bug:
|
ping @vrothberg @nalind for information ^ |
Note that if I run "buildah pull" instead of podman, it works fine. I wonder if it's a vendoring issue on the podman side. |
I have a hard time understanding the issue. How is pulling related to the initial bug description? How can we reproduce it? |
sorry @vrothberg for the poor details I put into my comments. From what I can tell now, is that everything works fine when I manipulate the images with buildah instead of podman. I now think the vendoring isn't up to date enough in podman and something was fixed in container/storage that isn't in podman vendoring? |
@mheon FYI |
@EmilienM Are you saying you are having problems with podman push? |
@EmilienM <https://github.com/EmilienM> Are you saying you are having
problems with podman push?
No, we had issues with "podman pull".
|
I guess I meant pull. |
@EmilienM @vrothberg What is the scoop on this one? It is getting rather old, is it still an issue? |
We don't have a reproducer, so I can't really tell if it's still an issue. One thing we need to tackle at some point is consolidating the push/pull-related code of Buildah and Podman. I planned looking into this in the context of CRI-O's port on libpod. |
This one has been hanging around for a while without a reproducer and I've not heard other similar issues. I'm going to close this now. Please reopen or create a new PR as pertinent if the error arises again. |
Description
When
buildah commit
is used to create an image whilebuildah push
is running for an unrelated image, the image produced bybuildah commit
has "layer not known" corruption after the push completes for the other image. I have verified that the patch from containers/storage#210 corrects the problem.Steps to reproduce the issue:
buildah push
command for a large image.buildah from
,buildah commit
, andbuildah rm
to create an unrelated image.buildah push
command from step 1 completes, the unrelated image in step 2 has "layer not known corruption".Describe the results you received:
The image size shows as "-1 B" in the
buildah images
display, andbuildah inspect
produces an error like this:Describe the results you expected:
The "layer not known" error should not occur.
Output of
rpm -q buildah
orapt list buildah
:I'm using buildah v1.3 built from source on Gentoo Linux.
Output of
buildah version
:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: