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

Bug 1959391

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: high    
Version: 4.6CC: sejug, wabouham
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1959390 Environment:
Last Closed: 2021-06-22 08:26:42 UTC Type: ---
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: 1959390    
Bug Blocks:    

Description Zvonko Kosic 2021-05-11 12:55:01 UTC
+++ This bug was initially created as a clone of Bug #1959390 +++

+++ This bug was initially created as a clone of Bug #1959387 +++

Description of problem:
Expose consistently RHEL and OPENSHIFT_VERSION

Comment 3 Walid A. 2021-06-15 22:05:35 UTC
Verified on OCP 4.6.34 with latest image of node-feature-discovery from release-46 branch:

New labels are exposed:

                    feature.node.kubernetes.io/system-os_release.ID=rhcos
                    feature.node.kubernetes.io/system-os_release.OPENSHIFT_VERSION=4.6
                    feature.node.kubernetes.io/system-os_release.RHEL_VERSION=8.2
                    feature.node.kubernetes.io/system-os_release.VERSION_ID=4.6
                    feature.node.kubernetes.io/system-os_release.VERSION_ID.major=4
                    feature.node.kubernetes.io/system-os_release.VERSION_ID.minor=6

Comment 5 errata-xmlrpc 2021-06-22 08:26:42 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.6.35  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:2409