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

Recent builds of opm in quay do not run on RHEL 8.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.15.0
    • OLM
    • Critical
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Recent 4.15 builds of opm in https://quay.io/repository/openshift/origin-operator-registry?tab=tags&tag=latest are not compatible with RHEL 8.x systems.
      
      I suspect opm was built on a RHEL 9.x system, whereas our current hosts are mainly RHEL 8.7. For compatibility it is best to build binaries on the lowest OS version that expected for use (i.e. RHEL 8.7 in our case).
      
      We rely on pulling images from this repo for our CI automation to avoid building it for each job.
      
      label opm:4.14.0 still works. 

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

          opm build for 4.15

      How reproducible:

          Always

      Steps to Reproduce:

          1. Download opm image from the above repo: oc image extract quay.io/openshift/origin-operator-registry:latest --path /usr/bin/registry/opm:. --confirm
          2. Run opm command.
          3.
          

      Actual results:

          $ ./opm
      ./opm: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./opm)
      
      $ ldd ./opm
      ./opm: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/bin/opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/bin/opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/opm)
      linux-vdso.so.1 (0x00007ffd717c1000)
      libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdabc76e000)
      libc.so.6 => /lib64/libc.so.6 (0x00007fdabc3a8000)
      /lib64/ld-linux-x86-64.so.2 (0x00007fdabc986000)
      
      
      $ /lib64/libc.so.6
      GNU C Library (GNU libc) stable release version 2.28.
      Copyright (C) 2018 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.
      There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
      PARTICULAR PURPOSE.
      Compiled by GNU CC version 8.5.0 20210514 (Red Hat 8.5.0-15).
      libc ABIs: UNIQUE IFUNC ABSOLUTE
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/libc/bugs.html>.
      
      $ cat /etc/redhat-release
      Red Hat Enterprise Linux release 8.7 (Ootpa)
      
      
      

      Expected results:

          opm command should run successfully on RHEL 8

      Additional info:

          

            agreene1991 Alexander Greene
            rhn-support-dgonyier Dwaine Gonyier
            Jian Zhang Jian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: