Bug 2010911 - RenderOperatingSystem() returns wrong OS version on OCP 4.7.24
Summary: RenderOperatingSystem() returns wrong OS version on OCP 4.7.24
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
medium
Target Milestone: ---
: 4.10.0
Assignee: Pablo Acevedo
QA Contact: liqcui
URL:
Whiteboard:
Depends On:
Blocks: 2011350
TreeView+ depends on / blocked
 
Reported: 2021-10-05 15:51 UTC by Pablo Acevedo
Modified: 2022-03-10 16:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:17:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-psap special-resource-operator issues 93 0 None open RenderOperatingSystem() returns wrong OS version on OCP 4.7.24 2021-10-05 15:51:06 UTC
Github openshift special-resource-operator pull 43 0 None open Bug 2010911: RenderOperatingSystem() returns wrong OS version on OCP 4.7.24 2021-10-05 21:04:06 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:17:38 UTC

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


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