Description of problem: When trying to build simple-kmod on ARM you get: error: build error: error determining starting point for build: no FROM statement found It turns out the FROM line received a blank value for $IMAGE. In the SRO logs you see blank values for the kernels: 2022-03-21T09:21:30.094Z INFO [1;32msimple-kmod [0m Runtime Information {"ClusterUpgradeInfo": {"4.18.0-305.34.2.el8_4.aarch64":{"OSVersion":"8.4","OSMajor":"rhel8","OSMajorMinor":"rhel8.4","clusterVersion":"4.10","driverToolkit":{"imageURL":"","kernelFullVersion":"","RTKernelFullVersion":"","OSVersion":""}}}} This is because SRO is looking for a kernel that ends with _arm64, but the name of the architecture is aarch64: # uname -a Linux dtk 4.18.0-305.34.2.el8_4.aarch64 #1 SMP Mon Jan 17 09:23:59 EST 2022 aarch64 aarch64 aarch64 GNU/Linux # rpm -qa |grep kernel kernel-core-4.18.0-305.34.2.el8_4.aarch64 Version-Release number of selected component (if applicable): 4.10 Steps to Reproduce: 1. Install OCP 4.10 on ARM 2. Install NFD and SRO from OLM 3. Follow the steps to build simple-kmod with a configmap Actual results: The build pod fails to build the driver container image
Verified on 4.10.5, using NFD and SRO from OLM.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.10.8 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1162