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

Authentication to Azure ACR fails using admin user #79

Closed
miosman opened this issue Apr 3, 2018 · 11 comments
Closed

Authentication to Azure ACR fails using admin user #79

miosman opened this issue Apr 3, 2018 · 11 comments

Comments

@miosman
Copy link

miosman commented Apr 3, 2018

Using built binaries for version v0.3.0, img login would succeed but any following operation (pull, push, etc) fails with the following error.
snapshotting the image failed: failed to fetch oauth token: unexpected status: 400 Bad Request

I was facing a similar issue using skopeo and found that the issue is with the upstream 'containers/image' dependency. see anchore/anchore-engine#18 for details.

Is it possible that the issue with img is related? anyone else having the same issue with Azure ACR?

@jessfraz
Copy link
Collaborator

jessfraz commented Apr 4, 2018 via email

@ehotinger
Copy link
Contributor

@jessfraz we talked about this a while back :) - I didn't have a chance to look that far but I'm assuming it requires upstream changes to the auth code. I don't think they're compatible with ACR right now because of differences in the registry protocol. I think GCR had some issues before too, saw several of those folks making PRs a while back.

@jessfraz jessfraz added the bug label May 31, 2018
@northtyphoon
Copy link
Contributor

It's a server-side isuse. Opne Azure/acr#104 to track it.

@northtyphoon
Copy link
Contributor

A related issue containerd/containerd#2385 which also blocks image push to ACR.

@aminebizid
Copy link

any workaround?

@northtyphoon
Copy link
Contributor

@aminebizid northtyphoon/img@2da858c

@jessfraz
Copy link
Collaborator

jessfraz commented Jun 6, 2018 via email

@aminebizid
Copy link

Great I’ll start working on VSTS ext.

@jessfraz
Copy link
Collaborator

opened one unified issue for this :) #128

@northtyphoon
Copy link
Contributor

@jessfraz We started to rollout the fix to ACR for Azure/acr#104. Meanwhile can you help integrate one upstream fix to img from containerd/containerd#2386?

@jessfraz
Copy link
Collaborator

ah i can update the vendor dope!

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

5 participants