-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.21.0
Description of problem:
When installing the SR-IOV operator in an OKD cluster, the entrypoint.sh script in the following components (i.e., sriov-cni, ib-sriov-cni, and rdma-cni) fails to start.
The reason for the failure is that these scripts depend on the info in the os-release file, which changes in RHEL10 for OKD deployments (see sample below).
# /etc/os-release NAME="CentOS Stream CoreOS" VERSION="10.0.20251023-0 (Coughlan)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="10" PLATFORM_ID="platform:el10" PRETTY_NAME="CentOS Stream CoreOS 10.0.20251023-0 (Coughlan)" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:centos:centos:10" HOME_URL="https://centos.org/" VENDOR_NAME="CentOS" VENDOR_URL="https://centos.org/" BUG_REPORT_URL="https://issues.redhat.com/" REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 10" REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream" OSTREE_VERSION='10.0.20251023-0' VARIANT=CoreOS VARIANT_ID=coreos OPENSHIFT_VERSION="4.20"
Version-Release number of selected component (if applicable):
4.21 and any OKD release that use RHEL10.
How reproducible:
Always
Steps to Reproduce:
- Deploy an OKD cluster booting from a RHEL10 ISO (e.g., 4.20.0-0.okd-scos-2025-11-16-192318).
- Install the SR-IOV operator from RH catalogs.
- Watch the initContainers of the sriov-network-config-daemon-xxx pod at the openshift-sriov-network-operator namespace.
Actual results:
-> oc get pod NAME READY STATUS RESTARTS AGE sriov-device-plugin-jj4d2 1/1 Running 4 20h sriov-network-config-daemon-fzjwr 0/1 Init:CrashLoopBackOff 261 (2m55s ago) 20h sriov-network-operator-cc5899d4b-klxcx 1/1 Running 4 20h
-> oc logs sriov-network-config-daemon-8d64d -c sriov-infiniband-cni
+ CNI_BIN_DIR=/host/opt/cni/bin
++ get_source_folder_for_rhel_version
++ '[' '!' -f /host/etc/os-release ']'
++ . /host/etc/os-release
+++ NAME='CentOS Stream CoreOS'
+++ VERSION='10.0.20251023-0 (Coughlan)'
+++ ID=centos
+++ ID_LIKE='rhel fedora'
+++ VERSION_ID=10
+++ PLATFORM_ID=platform:el10
+++ PRETTY_NAME='CentOS Stream CoreOS 10.0.20251023-0 (Coughlan)'
+++ ANSI_COLOR='0;31'
+++ LOGO=fedora-logo-icon
+++ CPE_NAME=cpe:/o:centos:centos:10
+++ HOME_URL=https://centos.org/
+++ VENDOR_NAME=CentOS
+++ VENDOR_URL=https://centos.org/
+++ BUG_REPORT_URL=https://issues.redhat.com/
+++ REDHAT_SUPPORT_PRODUCT='Red Hat Enterprise Linux 10'
+++ REDHAT_SUPPORT_PRODUCT_VERSION='CentOS Stream'
+++ OSTREE_VERSION=10.0.20251023-0
+++ VARIANT=CoreOS
+++ VARIANT_ID=coreos
+++ OPENSHIFT_VERSION=4.20
++ rhelmajor=
++ case "${ID}" in
++ echo 'FATAL ERROR: Unsupported OS ID=centos'
++ exit 1
+ IB_SRIOV_CNI_BIN_FILE='FATAL ERROR: Unsupported OS ID=centos/ib-sriov'
Expected results:
InitContainers to successfully run, and the SR-IOV operator starts.
- relates to
-
OCPBUGS-63087 RHCOS10: SR-IOV Operator does not work
-
- ON_QA
-
- links to