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

registryOverrides not used in getCatalogImages

XMLWordPrintable

    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Cause*: the user action or circumstances that trigger the bug
      *Consequence*: what the user experience is when the bug occurs
      *Workaround*: if available
      *Result*: mandatory if the workaround does not solve the problem completely
      Show
      *Cause*: the user action or circumstances that trigger the bug *Consequence*: what the user experience is when the bug occurs *Workaround*: if available *Result*: mandatory if the workaround does not solve the problem completely
    • Known Issue

      Description of problem:

          https://github.com/openshift/hypershift/blob/5d03cfa7e250e06cf408fd0b6c46d207ab915c1e/control-plane-operator/controllers/hostedcontrolplane/olm/catalogs.go#L126 We should check registry overrides here and retrive the images from the mirrored registry
      
      We currently dont check this which means it could prevent the cluster operators coming up if the registry.redhat.io/redhat registry is being overriden. 
      In addition to the above the releaseImageProvider we use in the HCCO and HCP rencociler doesnt use the registry overrides set at the HO level which could cause confusions for users that expect those overrides to be propagated to the HCP.

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

          4.19

      How reproducible:

          100%

      Steps to Reproduce:

          1. Set Registry override for registry.redhat.io/redhat 
          2. Notice catalog operatores still using registry.redhat.io/redhat images 
          3.
          

      Actual results:

          catalog operators using registry.redhat.io/redhat images 

      Expected results:

          catalog operators use override set at HO level or set through OLM override flag on HC

      Additional info:

          

              pstefans@redhat.com Patryk Stefanski
              pstefans@redhat.com Patryk Stefanski
              XiuJuan Wang XiuJuan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: