Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2010911

Summary: RenderOperatingSystem() returns wrong OS version on OCP 4.7.24
Product: OpenShift Container Platform Reporter: Pablo Acevedo <pacevedo>
Component: Special Resource OperatorAssignee: Pablo Acevedo <pacevedo>
Status: CLOSED ERRATA QA Contact: liqcui
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, bthurber, dagray
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:17:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2011350    

Description Pablo Acevedo 2021-10-05 15:51:06 UTC
Description of problem:

OCP 4.7.24 uses rhel8.4 kernel. It is assumed that all OCP 4.7 versions will have rhel8.3. OS env variables are set incorrectly on OCP 4.7.24.

Version-Release number of selected component (if applicable):
4.9


How reproducible:

Steps to Reproduce:
1. Install OCP 4.7.25
2. Deploy SRO
3. Check helm variables set to RHEL8.3 instead of RHEL8.4

Actual results:


Expected results:


Additional info:

Comment 2 liqcui 2021-10-08 08:00:22 UTC
Verify Result:
$ oc logs -f special-resource-controller-manager-6cb747bbf4-h24lr -n openshift-operators -c manager |grep -i -E 'OperatingSystemMajorMinor|OperatingSystemDecimal'
2021-10-08T07:31:07.410Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:31:07.410Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:31:59.577Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:31:59.577Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:32:45.176Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:32:45.176Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:33:30.907Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:33:30.907Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:34:16.704Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:34:16.704Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:35:23.302Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:35:23.302Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:36:25.479Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:36:25.479Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:37:27.109Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:37:27.109Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
2021-10-08T07:38:25.455Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemMajorMinor": "rhel8.4"}
2021-10-08T07:38:25.455Z        INFO    simple-kmod     Runtime Information     {"OperatingSystemDecimal": "8.4"}
^C
[ocpadmin@ec2-18-217-45-133 nfd]$ oc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.7.25    True        False         153m    Cluster version is 4.7.25

The expected result is rhel8.4. since ocp4.7.24

Comment 5 errata-xmlrpc 2022-03-10 16:17:15 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.10.3 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:0056