-
Notifications
You must be signed in to change notification settings - Fork 2.3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
w/ GitLab Registry: "invalid status code from registry 404" #16065
Comments
Seeing this, too:
A subsequent attempt, with an identical command, gives:
|
This looks like it could be an intermittent failure in the registry itself? |
I've seen the same with a
Which in the gitlab application log was:
So yes it looks like the core problem is a gitlab issue. That issue could be exacerbated by the 6 or so duplicate |
I'm experiencing the same issue with Podman 4.2.0 and GitLab 15.6.1-ee. @mhio did you raise or find an issue on GitLab side regarding this issue? |
@MLNW I haven't followed up on the gitlab side. We cleaned up a number of unrelated issues causing auth retries on this gitlab and these 404's also stopped occurring. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When pushing to a GitLab Container Registry, I sometimes randomly get
Error: trying to reuse blob sha256:... at destination: Requesting bearer token: invalid status code from registry 404 (Not Found)
. Weirdly enough, when I upload multiple images from the same base image, I get this error message once for every image I try to push, the second push for each image works again.Steps to reproduce the issue:
Have a GitLab project with a GitLab Runner that can build and push Podman images (e.g. via Shell executor or custom executor)
Use it very often
Sometimes (rarely) get this error during
podman push ...
Describe the results you received:
Error: trying to reuse blob sha256:... at destination: Requesting bearer token: invalid status code from registry 404 (Not Found)
Describe the results you expected:
Successfully pushing the image to the GitLab Container Registry
Additional information you deem important (e.g. issue happens only occasionally):
I have a full log of
podman --log-level=debug push ...
the time it fails. I probably can't post the full log, but if there's something to check in that log, please tell!Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: