You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMHO the problem here is that the registry is trying to pullthrough from itself. Using the importer which is invoked with insecure=false (hardcoded). And of course this fails because the registry is not secured.
This is blocked by #9758. We can't implement that without the option to specify multiple secrets.
@soltysh@miminar why do we need multiple secrets to resolve this?
Can one of you provide an updated summary of exactly what scenario is broken?
What I am seeing is:
push an image in one project
as the same user, import that image into a second project (from the registry)
the imagestream is marked insecure(and the registry is) but the import fails with:
message: you may not have access to the Docker image "172.30.244.80:5000/p2/foo:latest"
I would assume the issue here is simply that the docker secret that the importer picked up from my second project doesn't have access to the first project.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Activity
soltysh commentedon Jul 7, 2016
When working on this please add following test:
which is failing right now.
soltysh commentedon Jul 8, 2016
The
--insecureflag works as expected, just checked, lowering prio to p2. I'm still trying to figure out why the test fails, though.miminar commentedon Jul 8, 2016
IMHO the problem here is that the registry is trying to pullthrough from itself. Using the importer which is invoked with
insecure=false(hardcoded). And of course this fails because the registry is not secured.soltysh commentedon Jul 8, 2016
This is blocked by #9758. We can't implement that without the option to specify multiple secrets.
miminar commentedon Dec 18, 2017
#17238 should be addressed when fixing this.
bparees commentedon Jan 19, 2018
@soltysh @miminar why do we need multiple secrets to resolve this?
Can one of you provide an updated summary of exactly what scenario is broken?
What I am seeing is:
I would assume the issue here is simply that the docker secret that the importer picked up from my second project doesn't have access to the first project.
Is there something deeper?
soltysh commentedon Jan 24, 2018
Sorry, I can't remember a thing 😢 I'll defer to @miminar since he's still playing with images and registry.
openshift-bot commentedon Apr 24, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
bparees commentedon Apr 24, 2018
/lifecycle frozen
/remove-lifecycle stale