8000 Missing scope in bearer auth challenge when fetching from private quay.io repository · Issue #2248 · rkt/rkt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Missing scope in bearer auth challenge when fetching from private quay.io repository #2248

Closed
bb4242 opened this issue Mar 3, 2016 · 11 comments

Comments

@bb4242
Copy link
Contributor
bb4242 commented Mar 3, 2016

I'm trying to use rkt to pull a docker image from a private quay.io repository. I've set up my credentials according to the instructions here. My /etc/rkt/auth.d/quay.json file looks like this:

{
        "rktKind": "dockerAuth",
        "rktVersion": "v1",
        "registries": ["quay.io"],
        "credentials": {
                "user": "my_user",
                "password": "my_password"
        }
}

However, when I do

# rkt fetch --insecure-options=image docker://quay.io/my_organization/my_image:tag

I get this error: fetch: missing scope in bearer auth challenge. Any ideas what might be wrong? Thanks!

@iaguis
Copy link
Member
iaguis commented Mar 4, 2016

@dgonyeo

@cgonyeo
Copy link
Member
cgonyeo commented Mar 4, 2016

Yup, I can reproduce this. I'll see if I can come up with a fix. Sorry about that.

@bb4242
Copy link
Contributor Author
bb4242 commented Mar 4, 2016

No worries, thanks for your help! :)

@cgonyeo cgonyeo self-assigned this Mar 4, 2016
@cgonyeo
Copy link
Member
cgonyeo commented Mar 5, 2016

And here's the fix: appc/docker2aci#126. Once that gets merged I'll make a PR against rkt to bump the version of docker2aci it uses.

@bb4242
Copy link
Contributor Author
bb4242 commented Mar 5, 2016

Sounds good, thanks again!

On Sat, Mar 5, 2016 at 11:07 AM, Derek Gonyeo notifications@github.com
wrote:

And here's the fix: appc/docker2aci#126
appc/docker2aci#126. Once that gets merged I'll
make a PR against rkt to bump the version of docker2aci it uses.


Reply to this email directly or view it on GitHub
#2248 (comment).

@bb4242
Copy link
Contributor Author
bb4242 commented Mar 8, 2016

Cool, looks like appc/docker2aci#126 was merged. Any chance you could bump the version in rkt now? I'd be glad to test the fix. :)

@bb4242 bb4242 closed this as completed Mar 8, 2016
@bb4242 bb4242 reopened this Mar 8, 2016
@bb4242
Copy link
Contributor Author
bb4242 commented Mar 8, 2016

Sorry, didn't mean to click "close" quite yet... :P

@cgonyeo
Copy link
Member
cgonyeo commented Mar 8, 2016

I'll try to put together the PR for rkt to bump docker2aci tomorrow, unless someone else wants to beat me to it.

On Mar 7, 2016, at 20:20, Brett Bethke notifications@github.com wrote:

Sorry, didn't mean to click "close" quite yet... :P


Reply to this email directly or view it on GitHub.

@bb4242
Copy link
Contributor Author
bb4242 commented Mar 9, 2016

Cool, just created #2267. I verified that it works for me (I can pull from my private quay.io account now).

@cgonyeo
Copy link
Member
cgonyeo commented Mar 9, 2016

Thanks, sorry about me being slow in getting around to that.

On Wed, Mar 9, 2016 at 5:54 PM, Brett Bethke notifications@github.com
wrote:

Cool, just created #2267 #2267. I
verified that it works for me (I can pull from my private quay.io account
now).


Reply to this email directly or view it on GitHub
#2248 (comment).

@bb4242
Copy link
8814 Contributor Author
bb4242 commented Mar 9, 2016

No problem! Haha, I was excited to test it so I figured I'd go ahead. Thanks for fixing the root issue in docker2aci. :)

bb4242 pushed a commit to bb4242/rkt that referenced this issue Mar 14, 2016
This pulls in the latest docker2aci.

Fixes rkt#2248.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0