Description of problem: acm-simple-kmod example fails to build Version-Release number of selected component (if applicable): release-4.11 How reproducible: Steps to Reproduce: 1. deploy acm-simple-kmod for a spoke that has 4.8.2 cluster 2. 3. Actual results: Build failed error: make -C /lib/modules/4.18.0-305.10.2.el8_4/build M=/build/simple-kmod EXTRA_CFLAGS=-DKMODVER=\\\"SRO\\\" modules make[1]: *** /lib/modules/4.18.0-305.10.2.el8_4/build: No such file or directory. Stop. make: *** [Makefile:13: all] Error 2 error: build error: error building at STEP "RUN make all KVER=${KVER} KMODVER=${KMODVER}": error while running runtime: exit status 2 Full build log: STEP 1/19: FROM quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1aa3d1eaae7847eb426267e7cce8d780827508812aa8ee31b73703a4902c8c45 Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1aa3d1eaae7847eb426267e7cce8d780827508812aa8ee31b73703a4902c8c45... Getting image source signatures Copying blob sha256:62e225ecca00654f6db907fdffb60bf34260e3eb7104fe595b32bdcfaa21aade Copying blob sha256:5f6bf015319ed50d6b50ea7d5012e196509f599a14c13c02ffbf38c5bc3e9d15 Copying blob sha256:30af448a843476a00dc27a0d2014c091fa85e588abb4fd954ecf29727b7953da Copying blob sha256:45cc8b7f2b434d6a95db8bb58fd5a1970880b35d15bfd9b4b6e595d9c1b9f2e8 Copying blob sha256:b7e61eb3c78beedc736a8a41c5226fb28db4cbd3fc9710fb9918f3f8e32f84b6 Copying config sha256:85070262259132bd3ef429befa650effc57addaec6fd3da3b1ff4af19a785c67 Writing manifest to image destination Storing signatures STEP 2/19: WORKDIR /build/ --> 04abddf2967 STEP 3/19: ARG KMODVER --> 9f0f021d1c6 STEP 4/19: RUN git clone https://github.com/openshift-psap/simple-kmod.git Cloning into 'simple-kmod'... time="2022-05-24T09:31:06Z" level=warning msg="Adding metacopy option, configured globally" --> 59c52979736 STEP 5/19: WORKDIR simple-kmod --> 9d15591bb33 STEP 6/19: ARG KVER --> e5debfa0b68 STEP 7/19: RUN make all KVER=${KVER} KMODVER=${KMODVER} make -C /lib/modules/4.18.0-305.10.2.el8_4/build M=/build/simple-kmod EXTRA_CFLAGS=-DKMODVER=\\\"SRO\\\" modules make[1]: *** /lib/modules/4.18.0-305.10.2.el8_4/build: No such file or directory. Stop. make: *** [Makefile:13: all] Error 2 error: build error: error building at STEP "RUN make all KVER=${KVER} KMODVER=${KMODVER}": error while running runtime: exit status 2 Expected results: build to be succesfull Additional info:
Verified it with latest bundle and it seems that there are no more error with 4.8.2 image as seen before RUN make all install KVER=4.18.0-305.10.2.el8_4.x86_64 make -C /lib/modules/4.18.0-305.10.2.el8_4.x86_64/build M=/build/simple-kmod EXTRA_CFLAGS=-DKMODVER=\\\"e852852\\\" modules make[1]: Entering directory '/usr/src/kernels/4.18.0-305.10.2.el8_4.x86_64'
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.11.0 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:5069