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

The released olm binary only available for RHEL9

XMLWordPrintable

    • No
    • 1
    • OSDOCS Sprint 250
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Download the opm binary from https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.15/ , it doesn't work in the RHEL8.

      [cloud-user@preserve-olm-env2 client]$ wget https://mirror.openshift.com/pub/openshift-v4/amd64/clients/ocp/4.15.0/opm-linux.tar.gz
      [cloud-user@preserve-olm-env2 client]$ tar -zxvf opm-linux.tar.gz
      opm
      [cloud-user@preserve-olm-env2 client]$ ./opm 
      ./opm: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./opm)
      [cloud-user@preserve-olm-env2 client]$ ldd ./opm 
      ./opm: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./opm)
      ./opm: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./opm)
      	linux-vdso.so.1 (0x00007ffd3e036000)
      	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f04b9172000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007f04b8dad000)
      	/lib64/ld-linux-x86-64.so.2 (0x00007f04b9389000)
      [cloud-user@preserve-olm-env2 client]$ cat /etc/redhat-release 
      Red Hat Enterprise Linux release 8.4 (Ootpa)

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

          opm

      How reproducible:

          always

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      The released opm binary doesn't work on the RHEL8. And there is no sentence for this point in https://docs.openshift.com/container-platform/4.15/cli_reference/opm/cli-opm-install.html 

          

      Expected results:

      1, Highlight this point in the document. And remove the RHEL8 words.

      2, add steps to explain how to compile the opm binary from the source code for the RHEL8 users.

      $ wget https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.15/opm-src.tar.gz
      $ tar -zxvf opm-src.tar.gz
      $ cd operator-framework-olm-xxx
      $ make build/opm
      $ ./bin/opm --help

      Additional info:

          

            rhn-support-mipeter Michael Peter
            rhn-support-jiazha Jian Zhang
            Jian Zhang Jian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: