Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-35927

Cannot pull image in disconnected environment. The pull is not honoring ImageTagMirrorSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.14
    • Node / CRI-O
    • No
    • OCPNODE Sprint 256 (Blue)
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      
      Customer is in disconnected environment.
      A jenkins image pull is chaining a second pull with this error:
      
      
      Warning  Failed          27s                kubelet            Failed to pull image "jenkins/inbound-agent:3142.vcfca_0cd92128-1": rpc error: code = Unknown desc = pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on xx.xx.xx.xx:53: no such host
      
      Even defining this ImageTagMirrorSet:
      
      apiVersion: config.openshift.io/v1 
      kind: ImageTagMirrorSet 
      metadata:
        name: jenkins
      spec:
        imageTagMirrors: 
        - mirrors:
          - <customer mirrored registry>/jenkins/inbound-agent
          source: registry-1.docker.io/jenkins/inbound-agent 
          mirrorSourcePolicy: AllowContactingSource 
      
      the image is not pulled from their registry
      
      

      Version-Release number of selected component (if applicable):

      4.14
      

              qiwan233 Qi Wang
              rhn-support-gparente German Parente
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: