Replies: 9 comments 11 replies
-
Seeing this, too:
A subsequent attempt, with an identical command, gives:
|
Beta Was this translation helpful? Give feedback.
-
This looks like it could be an intermittent failure in the registry itself? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
I am also seeing this issue. podman 4.2.0 |
Beta Was this translation helpful? Give feedback.
-
Also seeing this in GitHub actions. Ubuntu 20.04 and 22.04. Works fine with Docker. Podman installed by: sudo apt-get install -y podman
systemctl enable --now --user podman podman.socket Tried to login via CLI:
And via the GitHub action: - name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: <user>
password: <pass> Fails with the following:
|
Beta Was this translation helpful? Give feedback.
-
I'm getting the same issue with Gitlab, I've just been starting to migrate from using docker to build images (using shared host docker.sock) to a more secure podman build setup.
While this may be triggered by an issue on the gitlab side, docker has always been 100% reliable pushing to our gitlab registry from the same project job. |
Beta Was this translation helpful? Give feedback.
-
Let's continue the conversation over there |
Beta Was this translation helpful? Give feedback.
-
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.):
Beta Was this translation helpful? Give feedback.
All reactions