Skip to content

Unable to Pull images from DockerHub #9122

Closed

Description

@spinolacastro

My origin-1.6 cluster has been facing a strange issue, the build pod can't pull my custom images, builds fail with the following error:

I0601 22:05:52.282340       1 docker.go:351] Image "getupcloud/cron-php-56-centos7@sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9" not available locally, pulling ...
I0601 22:05:52.282376       1 docker.go:373] Pulling Docker image getupcloud/cron-php-56-centos7@sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9 ...
F0601 22:05:54.557704       1 builder.go:204] Error: build error: unable to get getupcloud/cron-php-56-centos7@sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9
apiVersion: v1
kind: ImageStream
metadata:
  annotations: null
  creationTimestamp: null
  name: cron
spec:
  tags:
  - name: php56
    annotations:
      description: Cron for docker - php-5.6 image
      iconClass: icon-cron
      sampleRepo: https://github.com/getupcloud/sti-cron.git
      supports: cron:1.0,cron,php:5.6,php
      tags: builder,cron,jobs,php
      version: "1.0"
    from:
      kind: DockerImage
      name: getupcloud/cron-php-56-centos7

And import-image, here's the output

$ oc get is
NAME      DOCKER REPO                         TAGS                            UPDATED
cron      172.30.34.145:5000/diegotmpl/cron   php56,base,latest + 2 more...   About a minute ago
sdfg      172.30.34.145:5000/diegotmpl/sdfg   latest                          2 hours ago
$ oc get istag
NAME          DOCKER REF                                                                                                  UPDATED              IMAGENAME
cron:php56    getupcloud/cron-php-56-centos7@sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9      About a minute ago   
Version
[root@nodebr0 ~]# docker info
Containers: 319
Images: 608
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker_vg-docker--pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: xfs
 Data file:
 Metadata file:
 Data Space Used: 32.46 GB
 Data Space Total: 214.7 GB
 Data Space Available: 182.3 GB
 Metadata Space Used: 67.8 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.08 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Library Version: 1.02.107-RHEL7 (2015-10-14)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 8
Total Memory: 27.48 GiB
Name: nodebr0
ID: EJS2:JEDL:M5YF:DZCT:DYCU:AETS:LDY3:XAK3:CEIE:AH7Z:6UTT:VCPB
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
[root@nodebr0 ~]# oc version
oc v1.1.6.10
kubernetes v1.2.0-36-g4a3f9c5
Steps To Reproduce
  1. Create a image and push to dockerhub
  2. Create IS and ran import-image
  3. Create a build with the custom image builder
Current Result

Error when pulling the image

Expected Result

Builder should be able to pull image

Additional Information

More info:

[root@nodebr0 ~]# docker pull getupcloud/cron-php-56-centos7@sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9
Trying to pull repository docker.io/getupcloud/cron-php-56-centos7 ... failed
manifest unknown: manifest unknown


[root@nodebr0 ~]# docker pull getupcloud/cron-php-56-centos7
Using default tag: latest
Trying to pull repository docker.io/getupcloud/cron-php-56-centos7 ... latest: Pulling from getupcloud/cron-php-56-centos7
5cda3566a9ab: Pull complete
04f30b23fa41: Pull complete
18ed67e55141: Pull complete
3e83f4354603: Pull complete
19bbacef5417: Pull complete
624e57bf40d9: Pull complete
e940f0c0b910: Pull complete
1f9983190ba3: Pull complete
5f046db0f08c: Pull complete
9aceb62427f6: Pull complete
Digest: sha256:739429071f328df8f181a676142ec6429e09137e694f747d2a87b3ef088afef9
Status: Downloaded newer image for docker.io/getupcloud/cron-php-56-centos7:latest

I have created a custom image builder and pushed to dockerhub, i also created a IS and published on my namespace.

Activity

  1. mfojtik commented on Jun 1, 2016

    @mfojtik
    Contributor

    @spinolacastro this is a known issue, the getupcloud/cron-php-56-centos7 was pushed by docker-1.10 which means we can't pull it by manifest with docker-1.9.

    @danmcp

  2. danmcp commented on Jun 1, 2016

    @danmcp

    @spinolacastro Upgrading to Docker 1.10 is a valid solution if you can do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions