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

Remove shipped shortname alias files from OpenShift 4.8

XMLWordPrintable

    • Quality / Stability / Reliability
    • None
    • None
    • None
    • Important
    • None
    • Unspecified
    • None
    • None
    • Rejected
    • None
    • None
    • If docs needed, set a value
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The current alias files (/etc/containers/registries.conf.d/000-shortnames.conf, 001-rhel-shortnames.conf,002-rhel-shortnames-overrides.conf) shipped with openshift need to be removed.
      These files should be removed from 4.8 RHCOS

      These files lead to Crio using the short-name alias feature that will break
      current users, pointing the customer image pull to the unexpected image
      registry. i.e bug https://bugzilla.redhat.com/show_bug.cgi?id=2021026. According to the discussion[1] these files should be removed since they are unsuitable for Crio.

      [1]https://github.com/containers/image/issues/1448#issuecomment-1018501551

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

      How reproducible:

      Steps to Reproduce:
      1. launch openshift cluster 4.8
      2. there are shipped short name alias files under/etc/containers/registries.conf.d

      Actual results:

      there are shipped short name alias files under/etc/containers/registries.conf.d
      000-shortnames.conf, 001-rhel-shortnames.conf,002-rhel-shortnames-overrides.conf

      Expected results:
      the shipped short name alias files under/etc/containers/registries.conf.d no
      longer exist on openshift cluster which version >= 4.8.

      Additional info:

              rhn-support-jnovy Jindrich Novy
              qiwan233 Qi Wang
              None
              None
              None
              None
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: