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

opm 4.15 does not work for RHEL8, but RHEL 9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Normal
    • 4.16.0
    • 4.15.0
    • OLM / Registry
    • No
    • OPECO 246, Phlogiston 250
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

    Description

      Description of problem:

          When we run opm on RHEL8, we met the following error
      ./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)
      
      Note: it happened for 4.15.0-ec.3
      I tried the 4.14, it works.
      I also tried to compile it with latest code, it also work.

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

          4.15.0-ec.3

      How reproducible:

          always

      Steps to Reproduce:

      [root@preserve-olm-env2 slavecontainer]# curl -s -k -L https://mirror2.openshift.com/pub/openshift-v4/x86_64/clients/ocp-dev-preview/candidate/opm-linux-4.15.0-ec.3.tar.gz -o opm.tar.gz && tar -xzvf opm.tar.gz
      opm
      [root@preserve-olm-env2 slavecontainer]# ./opm version
      ./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)
      [root@preserve-olm-env2 slavecontainer]# curl -s -l -L https://mirror2.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.14/opm-linux-4.14.5.tar.gz -o opm.tar.gz && tar -xzvf opm.tar.gz
      opm
      [root@preserve-olm-env2 slavecontainer]# opm version
      Version: version.Version{OpmVersion:"639fc1203", GitCommit:"639fc12035292dec74a16b306226946c8da404a2", BuildDate:"2023-11-21T08:03:15Z", GoOs:"linux", GoArch:"amd64"}
      [root@preserve-olm-env2 kuiwang]# cd operator-framework-olm/
      [root@preserve-olm-env2 operator-framework-olm]# git branch
        gs
      * master
        release-4.10
        release-4.11
        release-4.12
        release-4.13
        release-4.8
        release-4.9
      [root@preserve-olm-env2 operator-framework-olm]# git pull origin master
      remote: Enumerating objects: 1650, done.
      remote: Counting objects: 100% (1650/1650), done.
      remote: Compressing objects: 100% (831/831), done.
      remote: Total 1650 (delta 727), reused 1617 (delta 711), pack-reused 0
      Receiving objects: 100% (1650/1650), 2.03 MiB | 12.81 MiB/s, done.
      Resolving deltas: 100% (727/727), completed with 468 local objects.
      From github.com:openshift/operator-framework-olm
       * branch master -> FETCH_HEAD
         639fc1203..85c579f9b master -> origin/master
      Updating 639fc1203..85c579f9b
      Fast-forward
       go.mod | 120 +-
       go.sum | 240 ++--
       manifests/0000_50_olm_00-pprof-secret.yaml
      ...
       create mode 100644 vendor/google.golang.org/protobuf/types/dynamicpb/types.go
      [root@preserve-olm-env2 operator-framework-olm]# rm -fr bin/opm
      [root@preserve-olm-env2 operator-framework-olm]# make build/opm
      make bin/opm
      make[1]: Entering directory '/data/kuiwang/operator-framework-olm'
      go build -ldflags "-X 'github.com/operator-framework/operator-registry/cmd/opm/version.gitCommit=85c579f9be61aaea11e90b6c870452c72107300a' -X 'github.com/operator-framework/operator-registry/cmd/opm/version.opmVersion=85c579f9b' -X 'github.com/operator-framework/operator-registry/cmd/opm/version.buildDate=2023-12-11T06:12:50Z'" -mod=vendor -tags "json1" -o bin/opm github.com/operator-framework/operator-registry/cmd/opm
      make[1]: Leaving directory '/data/kuiwang/operator-framework-olm'
      [root@preserve-olm-env2 operator-framework-olm]# which opm
      /data/kuiwang/operator-framework-olm/bin/opm
      [root@preserve-olm-env2 operator-framework-olm]# opm version
      Version: version.Version{OpmVersion:"85c579f9b", GitCommit:"85c579f9be61aaea11e90b6c870452c72107300a", BuildDate:"2023-12-11T06:12:50Z", GoOs:"linux", GoArch:"amd64"}

      Actual results:

          

      Expected results:

          

      Additional info:

          

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jkeister Jordan Keister
              rhn-support-kuiwang Kui Wang
              Kui Wang Kui Wang
              Votes:
              3 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: