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

Bug 1959387

Summary: Expose consistently RHEL and OPENSHIFT_VERSION
Product: OpenShift Container Platform Reporter: Zvonko Kosic <zkosic>
Component: Node Feature Discovery OperatorAssignee: Zvonko Kosic <zkosic>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: sejug
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1959390 (view as bug list) Environment:
Last Closed: 2021-07-27 22:19:28 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: 1959390    

Description Zvonko Kosic 2021-05-11 12:51:33 UTC
Description of problem:
Expose consistently RHEL and OPENSHIFT_VERSION

Comment 2 Zvonko Kosic 2021-05-20 07:24:21 UTC
NFD needs to expose the RHEL_VERSION and OPENSHIFT_VERSION to each node. 
Test should involve checking for these two labels.

On a 4.8 cluster: 

feature.node.kubernetes.io/system-os_release.RHEL_VERSION=8.4
feature.node.kubernetes.io/system-os_release.OPENSHIFT_VERSION=4.8

Comment 3 Walid A. 2021-05-26 13:30:40 UTC
Verified on most recently 4.8 nightly 4.8.0-0.nightly-2021-05-21-233425 with latest nfd-operator image from master branch:

                    feature.node.kubernetes.io/system-os_release.OPENSHIFT_VERSION=4.8
                    feature.node.kubernetes.io/system-os_release.RHEL_VERSION=8.4

Comment 6 errata-xmlrpc 2021-07-27 22:19:28 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 (OpenShift Container Platform 4.8.2 extras 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/RHBA-2021:2435