requested access to the resource is denied in Pull failed containers from dockerhub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
TASK [container-build : Pull failed containers from dockerhub] fails in tripleo-
STDERR:
2021-09-16 16:37:36.139506 | primary |
2021-09-16 16:37:36.139516 | primary | Resolving "daemon" using unqualified-search registries (/etc/container
2021-09-16 16:37:36.139530 | primary | Trying to pull registry.
2021-09-16 16:37:36.139543 | primary | name unknown: Repo not found
2021-09-16 16:37:36.139554 | primary | Trying to pull registry.
2021-09-16 16:37:36.140654 | primary | unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https:/
2021-09-16 16:37:36.141400 | primary | Trying to pull docker.
2021-09-16 16:37:36.141428 | primary | denied: requested access to the resource is denied
2021-09-16 16:37:36.141443 | primary | Error: 3 errors occurred while pulling:
2021-09-16 16:37:36.141984 | primary | * Error initializing source docker:
2021-09-16 16:37:36.142563 | primary | * Error initializing source docker:
2021-09-16 16:37:36.143849 | primary | * Error initializing source docker:
2021-09-16 16:37:36.144062 | primary | denied: requested access to the resource is denied
2021-09-16 16:37:36.144083 | primary | unauthorized: authentication required
https:/
https:/
Changed in tripleo: | |
importance: | Undecided → Critical |
status: | New → Triaged |
milestone: | none → xena-3 |
tags: | added: promotion-blocker |
Changed in tripleo: | |
status: | Triaged → Fix Released |
docker: //trunk. registry. rdoproject. org/ceph/ daemon: v4.0.19- stable- 4.0-nautilus- centos- 7-x86_64 was missing. rdoproject. org
So we pulled it from quay.ceph.io, tagged the image and pushed to trunk.registry.
docker pull podman pull quay.ceph. io/ceph- ci/daemon: v4.0.19- stable- 4.0-nautilus- centos- 7-x86_64 io/ceph- ci/daemon: v4.0.19- stable- 4.0-nautilus- centos- 7-x86_64 trunk.registry. rdoproject. org/ceph/ daemon: v4.0.19- stable- 4.0-nautilus- centos- 7-x86_64 rdoproject. org/ceph/ daemon: v4.0.19- stable- 4.0-nautilus- centos- 7-x86_64
docker tag quay.ceph.
docker push trunk.registry.
Now it is available in https:/ /registry. rdoproject. org:8443/ oapi/v1/ namespaces/ ceph/imagestrea mtags/