stakater / application

Generic helm chart for all kind of applications
http://stakater.com
MIT License
199 stars 85 forks source link

stakater-nonprod runner cannot run latest version of OpenShift client #321

Closed d3adb5 closed 2 months ago

d3adb5 commented 2 months ago

Describe the bug GitHub Actions workflows running on the stakater-nonprod are failing to run the following step:

    - name: Install CLI tools from OpenShift Mirror
      uses: redhat-actions/openshift-tools-installer@v1
      with:
        oc: "4"

The errors point to missing versions of the glibc dynamic library:

Removed /runner/_work/_temp/4d0e47cd7a561ae56987dcbb9580a23d-openshift-client-linux-4.16.2.tar.gz
oc installed into /runner/_work/_temp/openshift-bin/oc
/runner/_work/_temp/openshift-bin/oc version --client
/runner/_work/_temp/openshift-bin/oc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /runner/_work/_temp/openshift-bin/oc)
/runner/_work/_temp/openshift-bin/oc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /runner/_work/_temp/openshift-bin/oc)
/runner/_work/_temp/openshift-bin/oc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /runner/_work/_temp/openshift-bin/oc)
Error: Error: Error: The process '/runner/_work/_temp/openshift-bin/oc' failed with exit code 1

Reference run: https://github.com/stakater/application/actions/runs/9713239962/job/27107269205

To Reproduce Steps to reproduce the behavior:

  1. Run the Pull Request or Push workflows by triggering them through PRs, pushes or manual re-runs.
  2. Check logs for the Build job or any that run on stakater-nonprod.
  3. Scroll down to OpenShift client installation step.
  4. See the error messages.

Expected behavior OpenShift Client (oc) should be installed and run properly without linking errors.

Actual behavior Client binary does not execute due to missing versions of the glibc dynamic library.

aslafy-z commented 2 months ago

Fixed with #324 #331