-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.16
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
In the OpenShift web console, click on the "?" in the top right corner and select "Command Line Tools" from the pull-down menu. (URL: https://console-openshift-console.apps.<domain>/command-line-tools) This will display a screen for downloading the "oc" binary for "Linux for x86_64". However, this oc binary is for RHEL9 clients. So, if you try to run the downloaded "oc" binary on an RHEL8 client, the following error message will be displayed and it will fail. ----- $ ./oc version ./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) ----- We confirmed this issue on OCP4.16.21 and OCP4.17.4.
Version-Release number of selected component (if applicable):
4.16.z and 4.17.z
How reproducible:
Refer to "Description of problem"
Steps to Reproduce:
1. In the OpenShift web console, click on the "?" in the top right corner and select "Command Line Tools" from the pull-down menu.
2. Download the "oc" binary for "Linux for x86_64".
3. Run the "oc" binary on the RHEL8 environtment
Actual results:
$ ./oc version --client ./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:
$ ./oc version --client Client Version: 4.16.4 Kustomize Version: XXXXXX
Additional info:
I think we need to check the following code https://github.com/openshift/console-operator/blob/f41009e8511cf5a042ca81d18e44137b7d11ba05/pkg/console/controllers/clidownloads/controller.go#L179C1-L194C1
- is related to
-
RFE-7215 Distribute the OpenShift CLI for both RHEL8 and RHEL9 from the web console
-
- Approved
-