Closed Bug 1142854 Opened 9 years ago Closed 9 years ago

docker-worker: Failed to pull quay.io/mozilla/gaia-taskenv - claiming it's private image

Categories

(Taskcluster :: Workers, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonasfj, Unassigned)

Details

See:
http://docs.taskcluster.net/tools/task-graph-inspector/#vn9g8W7MR3OtZyyJVo83_g/4YDEAkM8SSyFnzvfzoGiIw/1

From what I can see on quay.io the image is not restricted.

Did docker-worker some how get an idea that it was a private image.
Or was quay.io down, I don't see any issues on http://status.quay.io/

------------------ Relevant log:
[taskcluster] taskId: 4YDEAkM8SSyFnzvfzoGiIw, workerId: i-e509642c
[taskcluster] using cache "gaia-misc-caches" -> /home/tester/caches/

[taskcluster] Pulling docker image "quay.io/mozilla/gaia-taskenv:0.7.2" has
failed this may indicate an Error with the registry used or an authentication
error in the worker try pulling the image locally. 
Error Error: Insufficient scopes to pull : "quay.io/mozilla/gaia-taskenv:0.7.2"
try adding docker-worker:image:quay.io/mozilla/gaia-taskenv:0.7.2 to the
.scopes array.
[taskcluster] Unsuccessful task run with exit code: -1 completed in 1.035
seconds

---
Of topic, we really should use CRLF when printing errors in the log :)
Not sure how common this is, but here's another report of this happening: http://docs.taskcluster.net/tools/task-graph-inspector/#PXBtwupSSV6DY6CyJ8DuXQ
Config issue of docker-worker AMI that was deployed recently.

@garndt, we need new AMI and to kill all instances...
James updated 2.2 to pull taskcluster/gaia-taskenv:0.7.2 so there shouldn't be a problem, but I'll create a new ami and update it in the morning regardless.  If it doesn't need the creds, it shouldn't have them.
@garndt,
So I wonder what break when we remove quay.io/mozilla credentials from registries.
Or do you know specifically which repos we want access to?
Hi, 

Is this problem solved? Bug 1132479 is still blocked by this.
This issue should be resolved.  I was able to pull down the image mentioned using the gaia worker type.  Both the image has been changed as well the worker should now have the appropriate configuration.

http://docs.taskcluster.net/tools/task-inspector/#dIXkKJbBSnywCNRoWiErTQ/0
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
Component: Docker-Worker → Workers
You need to log in before you can comment on or make changes to this bug.