Bug 1985546 - Kernel version in /etc/driver-toolkit-release.json not including architecture
Summary: Kernel version in /etc/driver-toolkit-release.json not including architecture
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Special Resource Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.7.z
Assignee: dagray
QA Contact: liqcui
URL:
Whiteboard:
Depends On: 1977982
Blocks: 1988129
TreeView+ depends on / blocked
 
Reported: 2021-07-23 20:27 UTC by OpenShift BugZilla Robot
Modified: 2021-08-11 06:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-11 06:41:10 UTC
Target Upstream Version:
Embargoed:
liqcui: needinfo-
liqcui: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift driver-toolkit pull 51 0 None open [release-4.7] Bug 1985546: /etc/driver-toolkit-release.json kernel version match rpm -q output 2021-07-27 20:07:37 UTC
Red Hat Product Errata RHSA-2021:2977 0 None None None 2021-08-11 06:41:24 UTC

Comment 3 liqcui 2021-08-03 14:07:33 UTC
Verify The Bugs:

Verified in build: 4.7.0-0.nightly-2021-08-03-004105

1. Go to the OpenShift release nightly build page for the nightly build, click "Download the installer," and then click "release.txt."

2. Search for "driver-toolkit" and pull the corresponding image to your dev machine with the command:
podman pull --authfile /path/to/pullsecret <openshift_release_repo>/<corresponding_image_to_your_dev_machine>

3. Enter the following command from the terminal:
podman run <image_from_previous_step> cat /etc/driver-toolkit-release.json

4. Ensure that the kernel version's contain the architecture at the end, for example
4.18.0-305.7.1.el8_4.x86_64 
not
4.18.0-305.7.1.el8_4


=========================================================================================================================================
podman pull --authfile ./pull-secret.json  quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c7ac0fe8c125d9b52bb58f2026c9117b20e8bf2a440b70a4ec4c3db7bb25e8d8


Output from step #3

 podman run 3cdde87861b2 cat /etc/driver-toolkit-release.json
{ "KERNEL_VERSION": "4.18.0-240.23.2.el8_3.x86_64", "RT_KERNEL_VERSION": "4.18.0-240.23.2.rt7.79.el8_3.x86_64", "RHEL_VERSION": "8.3" }

Comment 5 errata-xmlrpc 2021-08-11 06:41:10 UTC
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 (Moderate: OpenShift Container Platform 4.7.23 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-2021:2977


Note You need to log in before you can comment on or make changes to this bug.