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

RHEL 8 flavored oc should be the default one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 4.16
    • oc
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The default `oc` binary is compatibile with RHEL 9 onwards. Clients will run into compatibility issues. 
      
      oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by oc)
      oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by oc)
      oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by oc)
      
      Instead the RHEL 8 built version should be the default, as it works without any problem both on RHEL8 and RHEL9. It should be the default until support for RHEL8 is dropped entirely.
          

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

      4.16.0-rc.3
          

      How reproducible:

      Always
          

      Steps to Reproduce:

      On RHEL 8 machine or container download the default clients tarball for 4.16 and extract it. Try to run extracted "oc" binary.
      
      Commands:
      
      1. podman run --rm -it quay.io/centos/centos:stream8
      2. curl -LO https://mirror2.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.16/openshift-client-linux.tar.gz
      3. tar xzvf openshift-client-linux.tar.gz
      4. ./oc --help
          

      Actual results:

      ./oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./oc)
          

      Expected results:

      Seeing the help of oc
          

      Additional info:

      The other way around works without any problems.
      
      Commands:
      1. podman run --rm -it quay.io/centos/centos:stream9
      2. curl -LO https://mirror2.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.16/openshift-client-linux-amd64-rhel8.tar.gz
      3. tar xzvf openshift-client-linux-amd64-rhel8.tar.gz
      4. ./oc --help
      
      There is no point of enforcing RHEL 9 compatibile only binary on our customers. This is just a bad Developer Experience without any valid reason.
          

            aguclu@redhat.com Arda Guclu
            krzysztofsuszynski Chris Suszynski
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: