Skip to content
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

Push of image failed "no basic auth credentials" #7825

Closed
david-strejc opened this issue Mar 7, 2016 · 6 comments
Closed

Push of image failed "no basic auth credentials" #7825

david-strejc opened this issue Mar 7, 2016 · 6 comments

Comments

@david-strejc
Copy link

I've been told to open new issue for failing push of image into Docker Registry. (I don't know if it is duplicit with: #4518 or not)

  • my first build of my template passed in namespace1
  • my second build of the same template failed in namespace2 (I was still logged in as same user)
  • my third build inside namespace3 failed - both of them failed with:
  • Error: build error: Failed to push image. Response from registry is:

Post http://172.30.106.181:5000/v2/smith/redmine/blobs/uploads/: no basic auth credentials

I am using same template for deployments.

Edit: I've tried fourth build and it passed - same template nothing modified.

Five bare metal servers in cluster deployed with openshift-ansible.

@david-strejc david-strejc changed the title Push of image failed Push of image failed "no basic auth credentials" Mar 7, 2016
@david-strejc
Copy link
Author

Should I provide some more info? This is in my opinion serious case.

@pweil- pweil- assigned miminar and unassigned pweil- Mar 8, 2016
@miminar
Copy link

miminar commented Mar 8, 2016

@david-strejc oc version and the version of registry image would be helpful. Thanks!

But it seems to me you're hitting #4518. If the first build in a new namespace fails, does the second always succeed?

@paralin
Copy link
Contributor

paralin commented Mar 25, 2016

Same thing happening here, tbh not sure if it's the same as the other issue

@jhaohai
Copy link

jhaohai commented Aug 8, 2016

Same thing for me.
Each time I start a new build it will failed to push the image with "no basic auth credentials".
However if I trigger this build second time it will success.
And it seems that it happens only if the image is too large.

@debianmaster
Copy link

debianmaster commented Aug 8, 2016

same issue for me
Build error: Failed to push image. Response from registry is: Post http://172.30.27.88:5000/v2/dev/we/blobs/uploads/: no basic auth credentials

@bparees
Copy link
Contributor

bparees commented Oct 13, 2017

There were issues at some point with service account credentials not being created properly when projects were created. This would result in the builder service account not having a credential to use when pushing images. I am going to assume that's what these users faced (to all of you, I apologize that no one followed up on your issue in a timely fashion), so I am going to close this, but if someone has a current environment where this is still a problem we can investigate it.

@bparees bparees closed this as completed Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants