You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add new node.openshift.io/rhelmajor=7|8 label #582
We wish to use this as part of our metrics information that will be utilized for subscription entitlement reconciliation. The sooner we have this information the better.
We wish to use this as part of our metrics information that will be utilized for subscription entitlement reconciliation. The sooner we have this information the better.
Do you also have a use for differentiating between RHEL and RHCOS for those same purposes?
We are currently using the label node.openshift.io/os_id which shows up on kube_node_labels as label_node_openshift_io_os_id to differentiate between RHEL and RHCOS.
Wouldn't using something like PLATFORM_ID="platform:el8" directly from /etc/os-release be a reasonable value and distinguisher? So something like node.openshift.io/platform=platform:el8?
Wouldn't using something like PLATFORM_ID="platform:el8" directly from /etc/os-release be a reasonable value and distinguisher?
That doesn't seem to exist in RHEL7. It's some modularity invention right? Are you aware of any docs for what it means? Doesn't seem to be more useful than just VERSION_ID to me?
In the latest devel builds I do see a new key in /etc/os-release called RHEL_VERSION that @cgwalters has kindly added.
Devel builds of which product are these? On RHEL 8.1, redhat-release-8.1-3.3.el8.x86_64 does not seem to have RHEL_VERSION, and neither I see it on CoreOS 42.80.20191010.0 with redhat-release-coreos-420.8-3.el8.x86_64.
I don't think we need RHEL_VERSION in redhat-release beacuse the VERSION_ID is the same thing. RHCOS though is a fusion of RHEL and OpenShift versions.
Ah, I see.
So I guess the question is, do we hope to get the major RHEL version computed on the OS level, perhaps as part of the kubelet.service definition, so that the --node-labels=node.openshift.io/rhelmajor=(7|8) is passed in with that single-digit value, or are we OK with passing in both the VERSION and RHEL_VERSION values and computing the value in the .go code?
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Activity
ashcrow commentedon Mar 26, 2019
node.openshift.io/rhelmajor=7|8makes sense to me.ashcrow commentedon Mar 26, 2019
The RHCOS
VERSIONorVERSION_IDcan be parsed to set this like so:echo $VERSION | cut -d . -f 2sjenning commentedon Mar 26, 2019
fyi @rphillips
templates: Add node.openshift.io/rhelmajor label, drop os_version one
chambridge commentedon Sep 11, 2019
We wish to use this as part of our metrics information that will be utilized for subscription entitlement reconciliation. The sooner we have this information the better.
sdodson commentedon Sep 11, 2019
Do you also have a use for differentiating between RHEL and RHCOS for those same purposes?
chambridge commentedon Sep 11, 2019
We are currently using the label
node.openshift.io/os_idwhich shows up onkube_node_labelsaslabel_node_openshift_io_os_idto differentiate between RHEL and RHCOS.adelton commentedon Oct 23, 2019
Wouldn't using something like
PLATFORM_ID="platform:el8"directly from/etc/os-releasebe a reasonable value and distinguisher? So something likenode.openshift.io/platform=platform:el8?adelton commentedon Oct 23, 2019
Or is it important for the value to be a single integer value?
ashcrow commentedon Oct 23, 2019
In the latest devel builds I do see a new key in
/etc/os-releasecalledRHEL_VERSIONthat @cgwalters has kindly added.cgwalters commentedon Oct 23, 2019
That doesn't seem to exist in RHEL7. It's some modularity invention right? Are you aware of any docs for what it means? Doesn't seem to be more useful than just
VERSION_IDto me?adelton commentedon Oct 24, 2019
You are right,
PLATFORM_IDdoes not seem documented at https://www.freedesktop.org/software/systemd/man/os-release.html.adelton commentedon Oct 24, 2019
Devel builds of which product are these? On RHEL 8.1, redhat-release-8.1-3.3.el8.x86_64 does not seem to have
RHEL_VERSION, and neither I see it on CoreOS 42.80.20191010.0 with redhat-release-coreos-420.8-3.el8.x86_64.cgwalters commentedon Oct 24, 2019
RHCOS 43.81 with
redhat-release-coreos.I don't think we need
RHEL_VERSIONinredhat-releasebeacuse theVERSION_IDis the same thing. RHCOS though is a fusion of RHEL and OpenShift versions.adelton commentedon Oct 25, 2019
Ah, I see.
So I guess the question is, do we hope to get the major RHEL version computed on the OS level, perhaps as part of the
kubelet.servicedefinition, so that the--node-labels=node.openshift.io/rhelmajor=(7|8)is passed in with that single-digit value, or are we OK with passing in both theVERSIONandRHEL_VERSIONvalues and computing the value in the .go code?openshift-bot commentedon Sep 19, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
openshift-bot commentedon Oct 21, 2020
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle rotten
/remove-lifecycle stale
openshift-bot commentedon Nov 20, 2020
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.Mark the issue as fresh by commenting
/remove-lifecycle rotten.Exclude this issue from closing again by commenting
/lifecycle frozen./close
openshift-ci-robot commentedon Nov 20, 2020
@openshift-bot: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.