-
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 image exists, with vfs.imagestore and image from quay, fails #8176
Comments
/assign |
PR containers#8178 fixed containers#8176 but didn't remove the Skip(). This reinstates the test. Signed-off-by: Ed Santiago <santiago@redhat.com>
I don't think this is fixed; the original test continues to fail. So does the reproducer in comment 0. |
A friendly reminder that this issue had no activity for 30 days. |
This test is being screwed up by the mirroring. If you run images, you see that you have these images. But the image exists is looking for Since the image exists does not go through the mirror code, it fails. |
@vrothberg @mtrmac This is happening in containers/image GetStoreImage() call. Should this be translating the local users name to the mirror name? |
|
@rhatdan I assume by “mirror” you consistently mean At a first glance, it’s not too surprising that Lines 462 to 482 in f01630a
docker.io default at the bottom).
For Just reading the code, without testing it at all: AFAICS in the
|
With additional stores there is a risk that you could have multiple images with the same name. IE An older image in a read/only store versus a newer version in the read/write store. This patch will ignore multiple images with the same name iff one is read/write and all of the others are read/only. Fixes: containers#8176 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
I have no idea how to even describe this, so someone please feel free to change the title to a more descriptive one.
Discovered during testing of #8165 -- a podman setup using
vfs
andvfs.imagestore
will, under certain circumstances involving images fromquay.io
, falsely claim false onimage exists
. A reproducer is worth a thousand of my words:The text was updated successfully, but these errors were encountered: