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

Build and base images for the operator are not accessible to public

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.14.0
    • 4.12.z
    • Networking / router
    • None
    • Low
    • None
    • 2
    • Sprint 235, Sprint 236
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      I am trying to build the operator image locally and fail because the registry `registry.ci.openshift.org/ocp/` requires authorization

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. git clone git@github.com:openshift/cluster-ingress-operator.git
      2. export REPO=<path to a repository to upload the image>
      3. run `make release-local`
      

      Actual results:

      [skip several lines]
      Step 1/10 : FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.12 AS builder                                                                                             
      unauthorized: authentication required 

      Expected results:

      image is pulled and the build succeeded

      Additional info:

      There are two images that are not available:
      - registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.12
      - registry.ci.openshift.org/ocp/4.12:base
      
      I was able to fix this by changing the images to
      - registry.ci.openshift.org/openshift/release:golang-1.19                     - registry.ci.openshift.org/origin/4.12:base                                 
      
      see https://github.com/dudinea/cluster-ingress-operator/tree/fix-build-images-not-public
      
      I am not sure what I did is OK, but I suppose that this project,               being part of OKD should be easily buildable by the public
      or at least the issue should be documented somewhere.                         
                                                              
      I wanted to post this to the OKD project, but I am unable to select it in jira.                
                                                                                                                                                                                                      
                                      

            alebedev@redhat.com Andrey Lebedev
            evgeni.doudine Evgeni Doudine (Inactive)
            Mike Fiedler Mike Fiedler
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: