-
Notifications
You must be signed in to change notification settings - Fork 462
OCPBUGS-6945: Fixes node OS detection #3529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-6945: Fixes node OS detection #3529
Conversation
|
Skipping CI for Draft Pull Request. |
|
/approve |
|
Agreed about the feature detection. I guess the big TODO there is determining which features we need and understanding how to determine whether those features are there (e.g., |
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-6945, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-6945, which is invalid:
Comment DetailsIn 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. |
98180c2 to
3d1c782
Compare
|
/refresh jira |
3d1c782 to
349a138
Compare
Also repackages osrelease so it can be reused in e2e
2d0693e to
5aa8f26
Compare
|
Now that I've fixed a few issues with the unit tests, I'd like both @cgwalters and @LorbusChris to weigh in on this PR. |
|
/jira refresh |
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-6945, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
5aa8f26 to
987f0a1
Compare
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-6945, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
|
@cheesesashimi: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
/hold |
|
@rioliu-rh: GitHub didn't allow me to request PR reviews from the following users: for, qe, testing. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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. |
|
|
/unhold |
|
/label qe-approved |
|
@cheesesashimi @cgwalters verified with unit test, please confirm, thanks |
|
This failure in |
cgwalters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
| "path/filepath" | ||
| "strings" | ||
|
|
||
| "github.com/ashcrow/osrelease" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine as is, but perhaps it'd make sense at some point to have this functionality move into that upstream library. We could also move it to e.g. github.com/coreos/osrelease too for more shared maintenance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that would be nice. I have a few ideas around some additional things we could port there such as handling paths, etc.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, cheesesashimi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@cheesesashimi: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-6945 has been moved to the MODIFIED state. DetailsIn 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. |
- What I did
The OS release node detection was not correctly detecting RHCOS 9 OSes due to the VERSION_ID field being populated with the OCP version instead of the OS version.
- How to verify it
RHEL_VERSIONfield in the/etc/os-release//usr/lib/os-releasefiles on the node.These logs will resemble:
- Description for the changelog
Fixes node OS detection