Project

Profile

Help

Issue #3309

closed

unable to docker pull by digest

Added by tomckay@redhat.com about 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

[vagrant@devel ~]$ docker pull devel.example.com:5000/examplecorp-dockerhub-busybox:1.28
Trying to pull repository devel.example.com:5000/examplecorp-dockerhub-busybox ... 
sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164: Pulling from devel.example.com:5000/examplecorp-dockerhub-busybox
67a0688b88df: Pull complete 
Digest: sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Status: Downloaded newer image for devel.example.com:5000/examplecorp-dockerhub-busybox:1.28
[vagrant@devel ~]$ docker images
REPOSITORY                                             TAG                 IMAGE ID            CREATED             SIZE
devel.example.com:5000/examplecorp-dockerhub-busybox   1.28                f9b6f7f7b9d3        6 days ago          1.143 MB
[vagrant@devel ~]$ docker rmi f9b6f7f7b9d3
Untagged: devel.example.com:5000/examplecorp-dockerhub-busybox:1.28
Untagged: devel.example.com:5000/examplecorp-dockerhub-busybox@sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Deleted: sha256:f9b6f7f7b9d34113f66e16a9da3e921a580937aec98da344b852ca540aaa2242
Deleted: sha256:779f37a09c897c0406eb0a9fdc3a3eb47f973b03049d215ef7d5cede7c8f24d8
[vagrant@devel ~]$ docker pull devel.example.com:5000/sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Trying to pull repository devel.example.com:5000/sha256 ... 
unknown: Not Found

Logs

==> /var/log/httpd/crane_access_ssl.log <==
192.168.121.30 - - [22/Jan/2018:19:35:17 +0000] "GET /v2/ HTTP/1.1" 200 2 "-" "docker/1.12.6 go/go1.8.3 kernel/3.10.0-693.5.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.6 \\(linux\\))"
192.168.121.30 - - [22/Jan/2018:19:35:17 +0000] "GET /v2/ HTTP/1.1" 200 2 "-" "docker/1.12.6 go/go1.8.3 kernel/3.10.0-693.5.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.6 \\(linux\\))"
192.168.121.30 - - [22/Jan/2018:19:35:17 +0000] "GET /v2/sha256/manifests/7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164 HTTP/1.1" 404 53 "-" "docker/1.12.6 go/go1.8.3 kernel/3.10.0-693.5.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.6 \\(linux\\))"

==> /var/log/messages <==
Jan 22 19:35:17 localhost dockerd-current: time="2018-01-22T19:35:17.555465591Z" level=error msg="Not continuing with pull after error: unknown: Not Found"

Version

[root@devel units]# rpm -qa | grep crane
python-crane-3.1.0-0.2.beta.el7.noarch
[root@devel units]# rpm -qa | grep pulp-server
pulp-server-2.15.0-0.2.beta.el7.noarch
Actions #1

Updated by tomckay@redhat.com about 6 years ago

  • Status changed from NEW to CLOSED - NOTABUG

User error! Thanks @ipanova

[vagrant@devel ~]$ docker pull devel.example.com:5000/examplecorp-dockerhub-busybox@sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Trying to pull repository devel.example.com:5000/examplecorp-dockerhub-busybox ... 
sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164: Pulling from devel.example.com:5000/examplecorp-dockerhub-busybox
67a0688b88df: Pull complete 
Digest: sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Status: Downloaded newer image for devel.example.com:5000/examplecorp-dockerhub-busybox@sha256:7a7714572b84fe1fafbc6b4f8374925249da8642b723d941a5ea214dac19b164
Actions #2

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF